This wikiHow teaches you how to turn off any version of Apple's iPhone. Usually, you need to press and hold a specific button (or key combination) and drag the power slider towards the right, depending on the model of the device you have. If you're having trouble using the hardware buttons on an iPhone with iOS 11 or later, you can also use the settings menu (“Settings”) to turn off the device.
Step
Method 1 of 4: iPhone X or 11

Step 1. Press and hold the volume button and the button on the right side of the device at the same time
You can press any volume button. After holding both buttons for a few seconds, a slider will appear on the screen.

Step 2. Drag the slider towards the right
iPhone will shut down after that. It may take up to 30 seconds for the iPhone to shut down successfully.

Step 3. Press and hold the right side button to restart iPhone
You can release your finger from the button once the Apple logo appears on the screen.
Method 2 of 4: iPhone SE (Second Generation), 8, 7, or 6

Step 1. Press and hold the button on the right side of the device
It's at the top of the device, to the far right of it. After a few seconds, the slider will be displayed.

Step 2. Drag the slider towards the right
Slide the switch from the left side of the "slide to power off" message to the right. After that, the iPhone will be turned off.

Step 3. Press and hold the right side button to restart the device
You can release your finger from the button once the Apple logo appears on the screen.
Method 3 of 4: iPhone SE (1st Generation), 5, or Older Model

Step 1. Press and hold the button on the top side of the device
It's at the top of the iPhone, to the far right of it. After a few seconds, the slider will be displayed.

Step 2. Drag the slider towards the right
iPhone will shut down after that. It may take about 30 seconds for the iPhone to turn off.

Step 3. Press and hold the top side button of the device to restart the iPhone
Lift your finger from the button once the Apple logo appears on the screen.
Method 4 of 4: Using the Settings Menu (“Settings”) (iOS 11 and Newer Versions)

Step 1. Open the iPhone settings menu (“Settings”)
This menu is indicated by the gear icon which is usually displayed on the home screen. However, this icon may also be stored in a folder.

Step 2. Swipe the screen and touch General
This option is at the top of the third group of settings.

Step 3. Scroll down and select Shut Down
This option is at the bottom of the menu. After a few seconds, the slider will be displayed.