How a computer boots up: from the power button to the desktop, step by step
What actually happens between pressing the power button and seeing your desktop: power, firmware, the self test, the bootloader, the operating system and your login, explained in plain language.

In short
Booting is the chain of small programs that turns a box of switched off chips into a working computer. Each step starts the next one, a bit like a relay race:
- Power on. Electricity reaches the processor, memory and drives.
- Firmware starts. The processor runs a small program stored on a chip on the main board, called firmware (UEFI on modern PCs).
- Self test. The firmware checks that key hardware, such as memory and the keyboard, is present and working.
- Find the startup drive. The firmware looks for a drive that holds an operating system.
- Bootloader. A small program on that drive loads the core of the operating system. Security checks such as Secure Boot make sure it is genuine.
- Operating system kernel. The heart of Windows, macOS or Linux takes over and starts drivers for your hardware.
- Services and login. Background services start, then you see the sign in screen.
- Your desktop. After you sign in, your personal settings and startup apps load.
On a modern laptop with an SSD this whole chain usually takes seconds.
Why a computer needs to "boot" at all
When a computer is off, its working memory (RAM) is empty. RAM forgets everything without power. The operating system lives on the storage drive, but the processor cannot run it straight from there. Something has to load it into memory first.
The problem is that the program that loads the operating system also has to come from somewhere. The name "boot" comes from the old phrase "pulling yourself up by your bootstraps": the computer starts with a tiny program that loads a bigger one, which loads a bigger one, until the full system is running.
Our guide to what RAM is and how much you need explains why memory is wiped each time and why that matters.
Step 1: Power reaches the parts
When you press the power button, you are not switching the computer on directly. You are sending a signal to the main board, which tells the power supply to deliver steady power to every component.
On a laptop, the battery or charger takes the place of a desktop power supply. Once power is stable, the processor is released from reset and starts running instructions from a fixed address. On a PC, that address points to the firmware.
Step 2: The firmware wakes up
Firmware is software that lives on a small chip on the main board rather than on your drive. It is the first code the processor runs.
On Windows PCs, the firmware used to be called the BIOS (Basic Input/Output System). Almost every PC made in recent years uses its successor, UEFI (Unified Extensible Firmware Interface). Microsoft lists UEFI with Secure Boot capability as a requirement for Windows 11. People often still call it "the BIOS" out of habit.
Macs with Apple silicon work a little differently. Apple says the chip first runs code from its Boot ROM, read only memory built into the chip during manufacturing, which Apple calls the first step in the chain of trust. Because it cannot be changed, it is the trusted starting point for everything that follows.
Step 3: The self test
Before going further, the firmware runs a quick power on self test, often shortened to POST. It checks that the basics are present and working: the processor, memory, graphics and a way to accept input.
If something important is missing or broken, the computer may stop here. Desktop PCs often signal this with a pattern of beeps or blinking lights, and the maker's manual explains what each pattern means. A computer that powers on but shows nothing on screen and never gets further is often stuck at this stage.
This is also the moment when a PC briefly shows the maker's logo and offers a key, such as F2 or Delete, to enter the firmware settings. Many modern PCs skip the message to save time.
Step 4: Finding the startup drive
Next, the firmware looks for something to start. It checks devices in a set order, called the boot order: usually the internal SSD first, then perhaps a USB stick or network.
On a UEFI system, the drive contains a small, special section that holds boot files. The firmware finds the right one and hands over control. If no drive contains a working operating system, you will see a message such as "no bootable device" instead.
This is why you can start a computer from a USB stick to reinstall the operating system: you change the boot order, or pick the USB stick from a one time boot menu, and the firmware starts that instead.
Step 5: The bootloader and the security checks
The bootloader is a small program whose only job is to load the operating system's core into memory and start it. On Windows this is the Windows Boot Manager; on Linux it is often a program called GRUB; on a Mac with Apple silicon it is a stage Apple calls iBoot.
This handover is a favorite target for the most stubborn malware. A bootkit or rootkit that loads before the operating system can hide from antivirus software, because it is already running when the protection starts. So modern computers check each step before running it.
Microsoft describes four protections in Windows:
| Protection | What it does, in plain words |
|---|---|
| Secure Boot | The firmware only runs bootloaders that are digitally signed by a trusted maker |
| Trusted Boot | Windows checks each part of the startup process before loading it, starting with the kernel |
| Early Launch Anti-Malware (ELAM) | Your antivirus starts first and checks drivers before they load |
| Measured Boot | The firmware keeps a record of what loaded, which can be checked later for tampering |
Think of it as a line of guards, each one checking the ID of the next person before letting them in. Apple Macs follow the same idea: Apple says each stage verifies the signature of the next before handing over control.
You rarely see any of this. When it works, the computer simply starts. When it fails, for example because a startup file was damaged or tampered with, you may see a recovery screen instead.
Step 6: The operating system kernel starts
The kernel is the core of the operating system. It manages memory, decides which program gets processor time and talks to the hardware.
Once loaded, the kernel starts drivers: small programs that let the operating system talk to each piece of hardware, from the screen and keyboard to Wi-Fi and the touchpad. If a driver is faulty, this is often where startup problems show up, such as a crash or a black screen before the login appears.
Step 7: Background services and the login screen
Next, the operating system starts services: programs that run in the background without a window. They handle things like the network, printing, updates, sound and security.
When enough of them are running, you see the sign in screen. Some services keep starting quietly in the background after it appears, which is why a computer can feel sluggish for the first minute even though it looks ready.
Step 8: Your desktop and startup apps
After you sign in with your password, PIN, fingerprint or face, the operating system loads your settings: your wallpaper, files, network drives and preferences.
Then come startup apps: programs that you, or the programs themselves, have set to open automatically. Chat apps, cloud storage, game launchers and update helpers often add themselves here. This last step is the one you can control most, and it is often the one that makes a computer feel slow to start.
How phones boot
Phones follow the same chain, just with fewer visible steps. A read only starting program in the main chip checks and loads the next stage, which checks and loads the operating system, which starts its services and shows your lock screen.
Phones are especially strict about verifying each step. That is one reason why restarting a phone is a good security habit: it clears anything that only lives in memory and reloads the system from a checked, trusted starting point.
Why boot times vary so much
| What slows startup | Why | What helps |
|---|---|---|
| Spinning hard drive | The system has to read many small files, which hard drives do slowly | Switching to an SSD |
| Many startup apps | Each one loads after you sign in | Disabling apps you do not need at startup |
| Nearly full drive | Little room for temporary files and updates | Freeing up space |
| Pending updates | Updates often finish installing during restart | Letting them complete |
| Faulty or old drivers | A driver can stall while it waits for hardware | Installing updates from the device maker |
Our guide on how to speed up an old laptop walks through each of these fixes with exact menu paths.
Restart versus shut down
On Windows, Shut down and Restart are not quite the same. To start faster, Windows can save part of the running system to the drive when you shut down and reload it next time, instead of going through every step from scratch. A Restart always does the full process.
So when a computer is misbehaving, or after an update, choose Restart. It gives you a genuinely fresh start.
Common mistakes
- Changing firmware settings without a reason. Options such as Secure Boot exist to protect you. Leave them on unless a trusted guide for a specific task says otherwise.
- Holding the power button as a first resort. Forcing a computer off during an update can damage startup files. Wait, and use it only when the computer is fully frozen.
- Ignoring repeated recovery screens. If the computer keeps failing to start, back up your files from recovery mode, or get help, before trying repeated fixes.
- Blaming the hardware first. A slow start is far more often too many startup apps or an old hard drive than a failing processor.
The short version
Pressing the power button starts a relay: power, then firmware, a quick hardware check, the startup drive, a verified bootloader, the operating system kernel and drivers, background services, your login and finally your apps. Security checks at each step make sure nothing untrusted sneaks in before the operating system is running. If startup feels slow, the fix is usually at the end of the chain, with startup apps and storage, not at the start.
Curious what the chips themselves are doing once everything is running? Read our guide to CPU vs GPU vs NPU.
Frequently asked questions
What happens when you turn on a computer?
Power reaches the parts, the processor runs a small built in program called firmware, the firmware checks the hardware and finds the startup drive, a bootloader loads the operating system, and the operating system starts its drivers and services before showing the login screen and then your desktop.
What is the difference between BIOS and UEFI?
Both are the firmware that starts a PC before the operating system. BIOS is the older design. UEFI is its modern replacement, found on almost all current PCs, and it supports features such as Secure Boot and very large drives.
What is Secure Boot?
Secure Boot is a firmware feature that only lets trusted, digitally signed startup software run. Microsoft says PCs with UEFI firmware and a TPM can be set to load only trusted operating system bootloaders, which blocks malware that tries to load before Windows.
Why does my computer take so long to start?
The most common reasons are too many programs set to start at login, an old spinning hard drive, a nearly full drive, or pending updates. Trimming startup apps and switching to an SSD usually make the biggest difference.
Is restarting the same as shutting down and turning on again?
Not always. On Windows, a restart does a full fresh start, while shut down can use a faster startup mode that saves part of the system to the drive. When troubleshooting, choose Restart.