My MacBook Air laptop keeps shutting off everytime I turn it on. I don't know what i should do. Help?

Dani AI

Generated

Useful, model‑agnostic troubleshooting steps to narrow whether this is a software/startup problem you can fix yourself or a hardware fault that needs a repair shop. 's line of questioning is the right approach — start with non‑destructive checks first, then move to diagnostics and backups before any repair.

Try these in order: boot into Safe Mode (hold Shift at startup) to see if the machine stays up with minimal drivers; reset the NVRAM/PRAM (hold Option‑Command‑P‑R while powering on for ~20 seconds); reset the SMC (model‑specific—most MacBooks with built‑in batteries: shut down, connect power, hold left Shift+Control+Option and the power button together for 10 seconds, release and power on). After resets, boot to Recovery (Command‑R) and run Disk Utility → First Aid, then reinstall macOS only if First Aid doesn't find/repair disk problems.

Run Apple Diagnostics (hold D at startup) to get hardware error codes; note any code shown. Check battery health and cycle count in System Information → Power. Look in Console → Diagnostic Reports for kernel panic or shutdown report files and save those logs for a technician. Disconnect all peripherals while testing so nothing external is causing the power loss.

If the Mac dies during Apple Diagnostics or immediately in Recovery, that strongly points to hardware (power delivery, battery, or logic board). Back up data first: use Target Disk Mode (hold T at startup) or boot from an external installer to copy files. If a repair is needed, bring the panic logs and any error codes with you — was right that Apple/authorized service can diagnose hardware, but an independent shop may be cheaper for out‑of‑warranty battery or board work.

Recommended Answers

All 3 Replies

How old is it?

Does this happen when it is running on battery or while it is connected to the power cable?

Is it plugged into the electricity socket? Does the electricity socket have a switch to turn it on? Is the socket switch on?

Does this happen when there is nothing else connected to it?

Do you normally close the laptop before it has completed shutting down?

How far does it go before it shuts down?

Its 2 Years old.
It happens when I connect the cable and when it's not connected.
I don't think it has a switch.
I close it when it's totally shut cdown.
Like 15 seconds

Take it to the local Apple Store for repair.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.