The 2004 Nissan Altima uses H1 halogen bulbs for the low beam on cars with standard halogen headlights, D2R bulbs for the low beam on cars with factory HID (xenon) headlights, and 9005 bulbs for the high beam. The fog lights take 9006 bulbs.

The single most important step before buying anything is to confirm which headlight system your car has, because the low-beam bulb, the housing, and the replacement procedure differ completely between the two.

The reason this matters is that the 2004 Altima was sold across several trims, and the headlight assembly was not the same on all of them. A base 2.5 S with halogen reflectors and a 3.5 SE with the optional xenon package look similar from the outside but share almost nothing behind the lens.

Buying the wrong bulb is the most common mistake owners make, and on the HID side it's an expensive one. This guide covers how to identify your system, what each bulb does, how to replace it, and where the upgrade temptations lead.

Which headlight system does your 2004 Altima have?

The fastest identification method is to look at the low-beam bulb already in the car rather than trusting the trim name. A halogen low beam uses a small glass capsule with a metal base that twists out of a socket. An HID low beam uses a D2R bulb with a plastic connector block and a separate ballast unit mounted to the housing or nearby.

If you see a warning label about high voltage near the headlight, you have HID.

Trim level alone is not reliable evidence. The 2004 Altima came in 2.5, 2.5 S, 2.5 SL, 3.5 SE, and 3.5 SL forms, and xenon headlights were generally an option or part of a package rather than standard across the board. A used car may also have had a halogen housing swapped in after a collision, so the badge on the trunk tells you less than the parts bolted to the front of the car.

The owner's manual is the authoritative source for your specific vehicle. The 2004 Altima owner's manual lists bulb specifications in its maintenance section, and Nissan published the low beam as either H1 (halogen) or D2R (xenon) depending on equipment, with 9005 for high beam. Checking that page against what you see in the engine bay settles the question in under a minute.

One more distinction worth making early: the high beam is 9005 on both versions. The headlight type split affects only the low beam and, indirectly, the housing and wiring. So if your high beam is out, you can buy with confidence regardless of which low-beam system you have.

Bulb chart for the 2004 Nissan Altima

The table below consolidates the headlight-related bulbs for the 2004 model year. It reflects the bulb specifications published for this vehicle; the front lighting positions are consistent across the sources checked, while a few secondary lamp numbers vary by source and should be confirmed against your own sockets.

Light position Bulb Notes
Low beam, halogen headlights H1 Standard on non-xenon cars
Low beam, HID headlights D2R Xenon; requires ballast; high-voltage system
High beam 9005 Also sold as HB3; same on both headlight types
Fog light 9006 Also sold as HB4

A note on the fog light: some aftermarket bulb charts list H11 for the 2004 Altima fog lamp, which conflicts with the 9006 figure. This is exactly the kind of discrepancy that makes a physical check worthwhile. Pull the fog bulb and read the number stamped on its base before ordering; the socket does not lie, and the stamp takes ten seconds to read.

The headlight numbers themselves are well corroborated. The H1 halogen low beam and 9005 high beam appear consistently across bulb application charts, and the D2R xenon low beam is listed wherever the HID option is acknowledged. Where sources disagree is on secondary lamps—turn signals, parking lights, license plate lights—which is a sign that those positions varied by trim or running change.

Treat the headlight row as settled and the accessory rows as "verify in your car."

H1 versus D2R: why the low beam has two answers

The 2004 Altima's two low-beam options represent two different lighting technologies that happen to fit the same car. An H1 is an incandescent halogen bulb: current heats a tungsten filament, the filament glows, and a reflector or projector aims the light. It's simple, cheap, and runs on 12 volts through ordinary wiring.

A D2R is a high-intensity discharge bulb. Instead of a filament, it contains a small arc tube filled with xenon gas and metal salts. A ballast unit steps the car's 12 volts up to a high starting voltage to strike the arc, then regulates it while running.

D2R is a specific variant engineered for reflector-type HID housings, with a shield that controls glare; the related D2S is intended for projector housings. Using the wrong variant in a given housing scatters light and can blind oncoming traffic.

The practical consequences of the split are significant. An H1 replacement is a few dollars to perhaps twenty dollars depending on brand and whether you choose a long-life or "brighter" variant. A D2R replacement is a genuine xenon capsule, and quality D2R bulbs cost substantially more.

More importantly, HID systems can fail in ways halogen systems cannot: a dim or flickering xenon bulb may indicate a failing bulb, but it may equally indicate a failing ballast, and swapping bulbs won't fix a bad ballast. If a new D2R bulb doesn't light, the ballast is the next suspect.

Never handle a D2R glass capsule with bare fingers, and never run one outside its housing. HID bulbs operate at high pressure and can shatter; the oil from your skin can create a hot spot that shortens bulb life or causes failure. Halogen H1 bulbs deserve the same glove-or-clean-cloth treatment for the same oil-contamination reason, though the stakes are lower.

What the H1 and 9005 bulbs actually do

On a halogen-equipped 2004 Altima, the H1 low beam and 9005 high beam are separate bulbs in separate reflectors within the same housing. That's a common arrangement for this era and it's good news for owners: a burned-out low beam doesn't take the high beam with it, and you can replace one without touching the other.

The H1 is a single-filament bulb, which is why it can serve as a dedicated low beam. The 9005, also single-filament, is the high beam. Because the two functions are physically separate, the car doesn't switch filaments in one bulb; it switches power between two bulbs, and often the low beam stays lit or extinguishes depending on the circuit design.

Either way, diagnosis is straightforward: if one function works and the other doesn't, you've isolated the problem to a bulb, a socket, or that circuit's wiring.

The 9005 high beam is bright and relatively inexpensive, which makes it a common upgrade target—sometimes legitimately, sometimes not. A "9005 upgrade" often means fitting a bulb with a modified base that lets it sit in a 9006 low-beam socket for more output, but that trick doesn't apply cleanly to the 2004 Altima's separate-bulb layout.

On this car, the high beam is already the high beam; there's no hidden output waiting to be unlocked by cross-fitting.

High beams on this car are also the easiest bulb to replace, which makes them a reasonable first DIY job if you've never changed a bulb before. The access is generally better than the low beam, and the consequence of a mistake is small.

Replacing the bulbs: procedures and cautions

Replacement difficulty depends entirely on which bulb and which side. On the 2004 Altima, the engine bay is tight on the passenger side, and the battery and washer fluid reservoir crowd the driver's side on some configurations. Plan on moving or working around components rather than assuming a clean path to the housing.

For the 9005 high beam and the H1 low beam on halogen cars, the process is the standard one: disconnect the electrical connector, release the retaining clip or twist the bulb holder out of the housing, remove the old bulb without touching the glass, seat the new bulb in its keyed orientation, secure the retainer, and reconnect.

The keying prevents installing a bulb upside down, so if it won't seat, don't force it—rotate it until the tabs align. Reconnect the battery if you disconnected it, then test both functions before closing the hood.

For the D2R low beam on HID cars, add two rules. First, let the system sit with the lights off for several minutes before working; the ballast holds charge and the bulb runs hot. Second, disconnect the connector carefully—the plastic connector on a D2R can become brittle with age and heat, and forcing it can crack the bulb base or the connector itself.

Handle the new capsule by its base or with clean gloves, and seat it fully; a partially seated HID bulb can arc, flicker, or fail early.

The 9006 fog light is usually the most accessible of the set, mounted low in the bumper with a straightforward twist-out socket on many cars. On the 2004 Altima, expect to reach behind the bumper cover; some owners find it easier with the front wheels turned for clearance.

If a fog bulb is out and the socket is corroded, clean the contacts before installing the new bulb, or the new one will fail the same way.

After any replacement, check the aim. A bulb seated slightly off-axis will throw the beam high or to one side. Park facing a wall on level ground at night and compare the cutoff pattern to the other side; if it's clearly different, reseat the bulb before assuming the housing is damaged.

Common failure symptoms and how to diagnose them

A bulb that simply doesn't light is the easy case: check the fuse first if both bulbs on a circuit are dead, then the bulb, then the connector. A single dead bulb with an intact fuse points to the bulb or its socket.

A bulb that lights but is dim, pinkish, or flickering tells a more specific story. On a halogen H1 or 9005, dimness usually means the bulb is near end of life or the connector is corroded and dropping voltage. On a D2R, a pink or purple hue is the classic sign of a xenon capsule nearing failure as the salts deplete; flickering or intermittent startup more often implicates the ballast.

The diagnostic test is to swap the suspect bulb to the other side: if the problem follows the bulb, replace the bulb; if it stays with the side, the ballast or wiring is at fault.

Moisture inside the housing is a separate problem from the bulb. Fogged lenses after rain or a car wash mean a compromised seal, often at the bulb gasket or a cracked housing. Replacing bulbs won't fix it, and moisture will eventually kill the new bulb and corrode the reflector. Inspect the rubber gasket on the bulb holder each time you replace a bulb and replace it if it's hardened or torn.

If both headlights fail at once, stop and check the fuse and the headlight relay before buying bulbs. Simultaneous failure of two independent bulbs is possible but less likely than an electrical cause, and on a 20-plus-year-old car, corroded grounds and tired relays are common culprits.

Upgrades, LEDs, and what actually fits

The upgrade market for the 2004 Altima is large, and most of it is aimed at the halogen cars. The honest framing is this: the car's headlight housing was designed around a specific bulb's filament position and light output, and changing the light source changes the beam pattern.

Brighter halogen bulbs—the ones marketed as "plus" output—are a legitimate, low-risk upgrade for the H1 and 9005 positions. They use the same filament geometry and fit the same socket, so the beam pattern stays correct. The trade-off is lifespan: higher-output halogens typically burn out sooner than standard bulbs, which is a fair exchange if you want more light and don't mind replacing them more often.

LED replacement bulbs are widely sold for H1 and 9005 sockets, and they physically fit. The problem is optical, not mechanical. An LED emitter's light source is a different shape and position than a halogen filament, so in a housing designed for halogen, the result is often glare for oncoming drivers and a poorly controlled beam.

LED bulbs installed in halogen headlight housings are not DOT-approved for on-road use in the United States. That doesn't stop the sales, but it does mean you're accepting a compliance and glare risk that a brighter halogen avoids entirely.

For HID cars, the upgrade path is different and narrower. The D2R is already a xenon system, so there's no meaningful "upgrade" short of replacing the whole housing with a projector setup—an expensive job that isn't worth it on a car of this age unless the housing is damaged anyway.

The sensible move on an HID car is a quality D2R replacement bulb of the correct color temperature, ideally matching the factory specification, and a ballast check if a new bulb misbehaves.

Whichever path you choose, buy from a seller who lists the bulb type explicitly and accepts returns. On a car this old, fitment surprises are common enough that being able to send the wrong box back matters.

Frequently Asked Questions

What headlight bulb does a 2004 Nissan Altima use?

The 2004 Altima uses an H1 low beam on cars with halogen headlights, a D2R low beam on cars with factory HID headlights, and a 9005 high beam on both. Fog lights take 9006. Confirm which low-beam system your car has before ordering.

Does the 2004 Altima use separate bulbs for low and high beam?

Yes. The low beam and high beam are separate bulbs in separate reflectors within the housing, so a failed low beam doesn't affect the high beam and each can be replaced independently.

Can I put LED bulbs in my 2004 Altima's halogen headlights?

They will usually fit the socket, but LED bulbs in halogen-designed housings are not DOT-approved for road use and typically produce glare and a poorly controlled beam. A higher-output halogen bulb is the compliant way to get more light.

Why is my 2004 Altima's HID headlight flickering?

On a D2R-equipped car, flickering or intermittent startup usually points to the ballast rather than the bulb, though a failing capsule can also cause it. Swap the bulb to the other side to see whether the problem follows the bulb or stays with the side.

How do I know if my 2004 Altima has HID headlights?

Look at the low-beam bulb: a D2R has a plastic connector block and a separate ballast, and there's often a high-voltage warning label near the housing. The owner's manual's bulb specification page confirms it for your specific car.

The right bulb for your 2004 Altima comes down to one check under the hood. Read the number off the low-beam bulb already in the car, match it to the chart above, and buy that exact type—then replace the bulb with clean hands and verify the aim before you call it done.