The gas most commonly associated with a fishy smell is phosphine, a colorless and highly toxic gas that can smell like decaying fish or garlic. Trimethylamine, another gas, also produces a distinctly fishy odor at low concentrations. Both occur in settings where you might unexpectedly encounter them, from fumigated buildings to overheating electrical outlets, so identifying the source matters.
Phosphine: The Most Dangerous Fishy-Smelling Gas
Phosphine is a colorless, flammable, and explosive gas produced when certain pesticides react with moisture in the air. It’s widely used as a fumigant for stored grain and in semiconductor and plastics manufacturing. The smell has been described as a cross between rotting fish and garlic, though the odor is unreliable as a safety warning because dangerous concentrations can build up before you notice anything.
Humans can first detect phosphine at roughly 0.14 parts per million (ppm), but the workplace exposure limit set by OSHA is just 0.3 ppm over an eight-hour shift. The concentration considered immediately dangerous to life is 50 ppm. That gap between “I can smell it” and “this could kill me” is narrower than most people assume, which is why phosphine poisoning remains a serious risk in agricultural and pest-control settings.
Aluminum phosphide, a common rodenticide, is the most frequent source of accidental phosphine exposure. When the solid pesticide contacts water or even humidity, it releases phosphine gas. This has caused poisonings in hotels, apartments, and homes where rodent fumigation was performed improperly or without adequate ventilation. The U.S. Bureau of Diplomatic Security has issued health alerts advising travelers: if you smell garlic or rotten fish in an enclosed space, leave immediately.
Symptoms of Phosphine Exposure
Even small amounts of phosphine can cause headache, dizziness, nausea, vomiting, diarrhea, drowsiness, cough, and chest tightness. These symptoms can appear quickly and escalate. Phosphine acts as a depressant on the central nervous system, so early signs often include restlessness, impaired balance, trembling in the hands and feet, and double vision. At higher doses, it can trigger seizures and loss of consciousness.
The respiratory effects are especially dangerous because they can be delayed. Chest tightness and shortness of breath may develop hours after exposure, and fluid accumulation in the lungs can appear 72 hours or more after the initial contact. More severe poisoning can cause irregular heartbeat, shock, and damage to the liver and kidneys. Because the onset can be gradual, people sometimes dismiss early symptoms as a mild illness, which makes phosphine exposure easy to underestimate.
Trimethylamine: The Classic “Fish” Chemical
Trimethylamine is the compound most directly responsible for the smell of rotting fish. It’s a colorless gas at room temperature with a pungent fishy odor at low concentrations that shifts to an ammonia-like smell as levels increase. It forms naturally when plants and animals decompose, which is why old seafood smells the way it does.
Outside of nature, trimethylamine is used in organic chemical manufacturing, textile dyes, pesticides, and disinfectants. It also serves as a warning agent added to natural gas in some applications, similar to how mercaptan gives natural gas its rotten-egg smell. If you encounter a strong fishy odor near industrial facilities or chemical storage areas, trimethylamine is a likely culprit.
When Your Body Produces the Smell
There is a rare metabolic condition called trimethylaminuria, sometimes known as “fish odor syndrome,” where the body itself produces a persistent fishy smell. Normally, your liver converts trimethylamine (produced by gut bacteria when they break down nutrients like choline and carnitine from foods such as eggs, meat, and fish) into an odorless compound. In people with trimethylaminuria, the liver enzyme responsible for this conversion is deficient or dysfunctional due to genetic mutations.
The result is that trimethylamine accumulates in the bloodstream and gets released through sweat, breath, and urine, producing a noticeable fishy odor that the person often cannot control through hygiene alone. The condition is primarily genetic, though secondary forms can develop from liver disease or an overgrowth of certain gut bacteria. Dietary changes that reduce choline and carnitine intake are the main management strategy.
Fishy Smells From Electrical Problems
One of the more surprising sources of a fishy smell in homes has nothing to do with gas at all. When electrical outlets, circuit breakers, or wiring insulation overheat, the plastics and heat-resistant chemical coatings in those components can release a fishy or urine-like odor. This happens because certain resins used in electrical hardware break down when they get too hot.
If you notice a persistent fishy smell in a room with no obvious food source, check nearby outlets and light switches for warmth, discoloration, or a stronger smell when you get close. Overheating electrical components are a fire hazard, so this is one case where a fishy odor warrants prompt attention from an electrician rather than a plumber or pest control service.
How to Tell the Difference
Context is the fastest way to narrow down the source. A fishy smell in a recently fumigated building, near stored grain, or in a hotel room in agricultural regions points toward phosphine, and the safest response is to get to fresh air immediately. A fishy smell near a kitchen, trash area, or anywhere food waste accumulates is most likely trimethylamine from decomposition. A fishy smell with no obvious organic source, especially one that seems to come from a wall, outlet, or electrical panel, suggests overheating wiring.
Phosphine is the only one of these that poses an immediate life-threatening risk from brief exposure. If you smell fish or garlic in an enclosed space and feel any combination of headache, dizziness, nausea, or chest tightness, treat it as a potential phosphine exposure: leave the area, get into open air, and call emergency services. The fishy odor alone is not a reliable gauge of concentration, so err on the side of caution.

