Odor is a symptom, not a diagnosis.
Drainage systems use water-filled traps and venting to help keep sewer gases from entering occupied spaces. An odor near a drain can be associated with a dry trap, drainage or venting conditions, buildup, or other plumbing issues.
Start with where the odor is strongest, whether the fixture is rarely used, whether you hear gurgling, and whether drains are slow or backing up. Because odor alone cannot identify the cause, persistent or strong sewer-gas odors deserve appropriate evaluation.
If an odor is strong, persistent, associated with illness, or you suspect a gas leak rather than a drain odor, leave the area as appropriate and contact the relevant utility or emergency service. Do not rely on an online drain guide to identify an unknown gas.
What information helps?
Note which fixtures are affected, what happens immediately before the symptom, whether another fixture reacts at the same time, and whether the problem has happened before. Those details can help a drain professional choose an appropriate next step without asking you to diagnose the system yourself.
What patterns can help narrow down the source?
An odor noticed only near a rarely used floor drain may have a different explanation from an odor that appears when a toilet flushes or several drains gurgle. Note when the smell started, where it is strongest and whether drains have recently backed up. A trap that has lost its water seal is one possibility, but persistent odors can also involve venting or drainage defects that need professional assessment.
What should you avoid doing?
Do not mix drain cleaners, bleach or other household chemicals to mask an unknown odor. If a smell may involve fuel gas, or anyone feels ill, prioritize getting to safety and contacting the appropriate emergency service or gas utility. For an ongoing sewer-like odor without an immediate emergency, contact an appropriately qualified plumbing professional and describe the symptoms rather than guessing at a repair.
Related reading: Main sewer line warning signs and why drains sometimes gurgle.