In this guide I will show how to disassemble a Dell Inspiron 15 M5040 or Inspiron 15 N5040 laptop.
There are no hatches on the bottom of this laptop. In a Dell Inspiron M5040/N5040 all major internal components (such as memory, hard drive, DVD drive, wireless card) are mounted INSIDE the laptop case. In order to access them it’s necessary to remove the laptop top cover.
I will go through the following laptop disassembly steps:
STEP1-7: Disconnecting and removing the keyboard. Accessing laptop memory modules.
STEP 8-13: Removing laptop top cover. Removing DVD drive. Accessing other internal components.
STEP 14: Disconnecting and removing laptop hard drive.
STEP 1.
Make sure the laptop is turned off. Remove the battery.

STEP 2.
The keyboard is secured by four latches on the top.

Push the latch into the laptop case using a small flat head screwdriver.
At the same time lift up the keyboard a little bit so the latch doesn’t lock back again. Do the same with three remaining latches.

STEP 3.
After all latches are unlocked you should be able to lift up the top side of the keyboard and turn it upside down on the palm rest.

STEP 4.
The keyboard connected to the motherboard via a flat ribbon cable.
It’s necessary to unlock the connector and release the cable before removing the keyboard.
By the way, both memory slots are located under the keyboard.

STEP 5.
Here’s how to unlock the keyboard connector.
Carefully lift up one side of the locking tab with your fingernail. The locking tab will open up at a 90 degree angle.

STEP 6.
On the following picture the connector is shown in the unlocked position.
WARNING: the locking tab must stay connected to the white base.
Now you can pull the keyboard cable from the connector.

STEP 7.
Remove keyboard from the laptop.
If you need a new replacement keyboard for Dell Inspiron M5040 or N5040 laptop, you can find it here.

STEP 8.
Remove screws from the bottom of the laptop.

STEP 9.
Remove one screw securing the DVD drive.

STEP 10.
Push the DVD drive from the laptop using a screwdriver.
Pull DVD drive and remove it from the laptop.

STEP 11.
Remove one screw securing the top cover assembly.
Disconnect the power button cable (left arrow).
Disconnect the touchpad cable (right arrow).

In the following two steps I explain how to unlock the power button and touchpad connectors.
Each connector has the locking tab (brown). Carefully slide the locking tab about 1-2 millimeters up, not more.
The locking tab must stay attached to the connector base.

On the following picture you see the connector unlocked.
Now you can pull the cable from the connector.

STEP 12.
Start separating the top cover assembly from the laptop base.

STEP 13.
Remove the top cover assembly.

On the bottom side of the top cover you can access the power button board with cable and the touchpad with cable.

When the top cover removed you can get access to the following internal laptop components:
- Cooling fan.
- Wireless card.
- Hard drive.
- CMOS battery.
- USB board.
- Motherboard.

STEP 14.
In order to remove the hard drive slide it away from the motherboard.
After the hard drive is disconnected from the motherboard you should be able to remove it.
By the way, the hard drive was secured to the bottom case by two screws we removed in the step 8.
Dell Inspiron 15 M5040/N5040 laptop has a regular 2.5″ SATA hard drive installed. You can replace it with any other large capacity 2.5″ SATA hard drive or Solid State Drive.

Home
June 26th, 2012 at 10:10 pm
can you put up pictures and instructions of how to remove the heatsink?
June 22nd, 2012 at 6:31 pm
hola me preguntaba si no tines una tarjeta madre para la dell inspiron 5040 y tambien si las tarjeta de la dell n5040 es igual ala m5040 xd salduos
June 8th, 2012 at 5:20 am
Thanks for making my day at work fly over. The user had managed to destroy the track pad buttons (Which are a terrible design flaw on this model) I was regretting the strip down due to the lack of screws on the back. After a quick read of your guide I had it done in 5 minutes.
I may have a different revision to the one you dismantled. In Step 11, I had to remove two screws that were securing the top cover assembly. The second screw was located to the left of the ram compartment.
Again, a million thanks for the guide.
- C
May 29th, 2012 at 10:17 am
@ Bryce,
The CPU socket should be located under the heatsink shown on the last picture in the step 13. It’s on the left side from the memory slot.
If it’s a regular CPU socket, you’ll have to turn the locking screw into the “OPEN” position. You can lift up and remove the CPU after that.
May 28th, 2012 at 3:52 pm
This is a great step-by-step tutorial. But my processor has failed on the Dell inspiron n5040. I’m new to this computer stuff. How can I replace the processor? and were is it located?
May 11th, 2012 at 4:56 pm
@ schniggie,
Here are Dell Inspiron N5040/M5040/N5050 display disassembly instructions.
May 11th, 2012 at 1:41 pm
Can you say anything about replacing the display? i must repair a Inspirion N5040 for a friend, the display is broken, but the machine works fine.
May 4th, 2012 at 7:03 am
thanku