Chosen Solution

I have a MacBook Pro 15" 2011, I have a couple of problems with it: When I connect the MagSafe power adapters cable I have to hold the power button while I connect it for around 5 seconds then it turns on and if I just connect it and press the power button once or if I leave and leave the MagSafe on the computer it doesn’t turn on. If I turned it on, but when it does turn on it turns on once with a black screen then it will turn off then turn on a couple seconds later and the Apple logo will pop up and the bar will start too load and about halfway it shuts off then turn back on and go through the same problem overtime I’ve tried every reset even with the battery off and the MagSafe connected so I’m not sure if its the battery or motherboard or what. Please help thank you

Take it in to an SP and have it tested for the issue and see if Apple will replace your logic board for free: https://www.apple.com/support/macbookpro

@Isabel M - It sounds like you’re facing two issues here: The first is you have a bad drive which is why the loading of the OS never completesThe second is your battery is not charging or is bad. We need to fix the drive issue first. Do you have access to a second Mac system which you could connect your drive to using this adapter: Startech 2.5" SATA to USB adapter or something similar? If you do you could try to reformat your drive and install a fresh copy of the OS onto it. If not you’ll need to get a new drive and install it. Hopefully you have the newer firmware on your system so you can do internet recovery. Once you have installed the new drive and connected your system to the internet (WiFi or Ethernet {best}) the system will go through the process of installing in memory a copy of the OS which will allow you to run Disk Utilities to format your new drive and then install a full version of the OS. I must warn you it could take quite awhile to do. So make sure you have your system somewhere undisturbed and powered while it does its thing. The last option here is to find a friend who can prep up a bootable USB thumb drive (16 GB) with the OS installer on their Mac and then give you the drive to then boot up your system to prep your new drive from. This will be the fastest way to get things done. OK, lets say you’ve replaced the drive and now the system is booting up with the MagSafe adapter plugged in but won’t work off of battery. Now you’ll need to install CoconutBattery so we can see whats happening. Paste a screen capture of the main screen so we can see it here. - Good Luck!

I have to say, that is a really weird problem, given the information the first thing that comes to my mind is the logic board. however check the battery indicator lights on the left side, if they don’t light up, its a battery problem.