A CD drive opens with a button or keyboard command, and the tray slides out so you can insert or remove a disc
Most desktop computers and some laptops have a CD/DVD drive built into the case. The drive has a small button on the front panel that ejects the tray — the flat shelf that holds the disc. Press this button and the tray slides out automatically. If your computer does not have a physical button, or if the button is stuck, you can open the drive through Windows or Mac settings instead.
Laptop CD drives work the same way, though the button is often smaller and harder to find. Some older laptops have a pinhole next to the button for a manual eject — useful if the drive is jammed or the button fails. Newer laptops rarely include CD drives at all, so check your computer's manual or the manufacturer's website if you are not sure whether yours has one.
Key Takeaways
- The eject button on the front of your CD drive is the fastest way to open the tray; it is usually a small rectangular button near the bottom of the drive face.
- If the button does not work, you can right-click the drive letter in File Explorer (Windows) or Finder (Mac) and select the eject option from the menu.
- Some laptops have a pinhole next to the eject button for manual ejection if the drive is stuck or the button fails.
- Never force the tray open by hand; if it is stuck, try the keyboard shortcut or software eject method before taking the computer to a technician.
Using the physical eject button
Locate the small button on the front face of your CD drive. On desktop computers, the drive is usually mounted in the tower case, and the button sits near the bottom center of the drive panel. On laptops, the button is typically on the right or left edge of the keyboard area, or on the side of the case.
Press the button firmly with your finger. You should hear a soft click or beep, and the tray will begin to slide out. Do not pull on the tray while it is moving — let it extend fully on its own. Once it stops, the tray is ready for you to place a disc on it or remove one that is already there. Push the tray back in gently until it clicks into place.
If the button feels stuck or does not respond after a few presses, stop trying. Repeated pressure can damage the mechanism. Move to the software eject method instead.
Opening the drive through Windows
Open File Explorer by pressing the Windows key and the letter E at the same time, or by clicking the folder icon on your taskbar. Look for your CD drive in the left sidebar or in the main window — it is usually labeled with a drive letter (like D: or E:) and the word "DVD" or "CD-ROM".
Right-click on the drive name. A menu will appear. Click the option that says "Eject" or "Open" — the exact wording depends on your Windows version. The tray will slide out automatically. If you do not see an eject option, your computer may not recognize the drive, which usually means it needs a driver update or the drive has failed.
If File Explorer does not show your drive at all, open Device Manager by right-clicking the Start button and selecting it from the menu. Look for "DVD/CD-ROM drives" in the list. If you see a yellow warning symbol next to the drive name, the driver is not working correctly. Right-click the drive and select "Update driver" to fix it.
Opening the drive through Mac
Click the Finder icon in your dock, or press Command and Spacebar together and type "Finder" to open it. Look in the sidebar on the left for your CD drive — it usually appears with a disc icon and a name like "SuperDrive" or the manufacturer's name.
Click once on the drive name to select it, then press Command and E together. The tray will eject. Alternatively, right-click the drive name and select "Eject" from the menu that appears. If the drive does not appear in Finder at all, the drive may not be recognized by your Mac, which usually means it needs a firmware update or has stopped working.
Some older Macs have an eject key on the keyboard — usually at the top right corner. Press it once to open the drive. If your keyboard does not have this key, the Command+E method works on all Mac models.
What to do if the tray is stuck
If the tray will not open and the button does not work, try the software eject method first — it often works when the physical button fails. If that does not work either, look for a small pinhole next to the eject button on the front of the drive. This is a manual eject hole.
Straighten a paperclip or use a thin, stiff wire. Insert it gently into the pinhole and push until you feel resistance — do not force it. The tray should slide out slowly. This method bypasses the electronic mechanism and works even if the drive has lost power or the button is broken.
If the tray still will not move, or if it opens but a disc is stuck inside, stop. Forcing it further can damage the drive permanently. Take the computer to a technician or contact the drive manufacturer for help. Trying to pry the tray open by hand will break the plastic guides and make the problem worse.
Inserting and removing discs safely
Once the tray is open, place the disc on the tray with the label side facing up. The disc should sit flat in the center of the tray — there is usually a small spindle or raised ring to help center it. Do not force the disc down; it should rest lightly on the tray.
Push the tray back in slowly and steadily. You will hear it click into place when it is fully seated. The drive will spin up and read the disc. Wait a few seconds before opening the drive again — the disc is still spinning while the drive reads it.
To remove a disc, open the tray the same way you opened it to insert one. Wait for the disc to stop spinning — you will not hear the motor noise anymore. Lift the disc straight up from the tray, holding it by the edges only. Do not touch the shiny bottom surface, as fingerprints and dust can prevent the drive from reading it. Close the tray gently.
Troubleshooting a drive that will not open
If your CD drive will not open using any method, the problem is usually one of three things: the drive is not getting power, the driver software is not installed or is corrupted, or the drive has failed mechanically.
Check that your computer is turned on and that the drive is connected. On desktop computers, open the case and look for a cable running from the drive to the motherboard — make sure it is plugged in firmly on both ends. On laptops, the drive is built in, so a loose connection is less likely unless the computer has been dropped or damaged.
Restart your computer. Sometimes the drive stops responding temporarily, and a restart will fix it. After the restart, try the software eject method again. If it still does not work, check Device Manager (Windows) or System Report (Mac) to see whether the drive is recognized at all. If it is not listed, the drive may have failed and will need to be replaced by a technician.
Frequently Asked Questions
Can I open a CD drive if my computer is turned off?
No. The eject button and software methods both require power. If your computer is off, turn it on first. Some drives have a manual eject pinhole that works without power, but this is rare on modern computers.
What if I press the eject button and nothing happens?
Try the software eject method through File Explorer or Finder. If that works, the button may be stuck or broken, but the drive itself is fine. If the software method does not work either, the drive may not be getting power or may have failed. Check the cable connection on desktop computers, or restart your laptop and try again.
Is it safe to force the tray open if it is stuck?
No. Forcing it can break the plastic guides inside the drive and make it unusable. Use the manual eject pinhole if you have one, or take the computer to a technician. Patience now saves you money later.
Why does my drive open on its own sometimes?
This usually means the eject button is stuck or something is pressing against it. Check that nothing is blocking the button. If it keeps happening, the button mechanism may be failing and should be checked by a technician.
Do all computers have CD drives?
No. Most new laptops do not include CD drives to save space and weight. Desktop computers often have them, but not always. Check your computer's manual or the manufacturer's website to find out whether yours has one built in.