2013 iMac 27" SSD Failure, Power Supply or Both? I have a late 2013 27" iMac i7, 8GB RAM, 500GB SSD, running the laster version of Sierra 10.12.4 (I think) Two days ago I suddenly got the spinning beachball while browsing in Safari. However, after a few seconds it just froze completely - the first time ever! I had to hold down the power button to shut it down. I restarted and then a few hours later it happened again. I shut it down again but this time it would not start. Nothing happened when I pressed the power button. I tried a SMC reset and it started so I ran disk utility. There were a couple of minor permissions errors, which were fixed but then it froze again. After 2-3mins A black screen appeared saying there was a problem and the computer had to be shut down, which it did by itself.

From that moment, it's gotten worse. Now it won't start properly at all. I press the power button and nothing happens, then maybe 3-4 mins later it starts and I get the flashing folder.

I tried starting in safe mode, recovery mode and also from a Disk Warrior start-up USB drive but when I run disk utility I don't see the hard drive, only disk0 > OS X Base System.

I thought it might just be the SSD but why would it be so difficult to power on from safe mode, recovery or the Disk Warrior USB drive? Do I have a power issue, an SSD issue or both?

Many thanks

Additional Information: As requested, I tried to run tests holding down Option + "D". As before, it was very reluctant to power on at all. Pressing the power button did nothing. I pressed it a couple more times and then suddenly about 3mins later I got the startup bong. I immediately hit option+d and it started the diagnostics. I then got a black screen with the following message:

There may be an issue with a storage device. Ref Code: VDH002
...followed by instructions to contact Apple.

I also took it to an Apple service centre today and the engineer confirmed that the main hard drive was not appearing, so it does look like the SSD has failed, but why does it have so much trouble starting up? Why doesn't the power button work properly?
Troubleshooting is often a process of elimination and requires time.

Considering all the steps you've already taken, the first thing I'd do next is to test your hardware with Apple Diagnostics.

Run Apple Diagnostics

Follow the steps below to run Apple Diagnostics:


Fully shut down your Mac
Restart your Mac
Immediately press the D key and keep it down until you see the Diagnostics screen appear
Wait for Diagnostics to finish (this typically only takes a few minutes)
Once complete, one of two things will appear on the screen:


a No issues found message
a brief description of any errors found plus further instructions

If the diagnostics test does find errors, take a note of what they are


Note: If pressing and holding the D key at Step 3 doesn't work, start again at Step 1 and, at Step 3 press and hold both the OptionD keys instead. This will try and run diagnostics from the internet instead, so you will need to allow more time for it to complete. 

Regardless, take a note of what happens and let me know how you went.