The Bottom Line
Placing a sliced onion near your bed is a harmless traditional household trick that many people still enjoy trying. While onions do contain natural compounds with interesting properties, claims that they detoxify indoor air, remove harmful chemicals, or prevent illness have not been supported by strong scientific research.
If you enjoy experimenting with simple home remedies, there’s no harm in giving it a try—as long as it’s viewed as a traditional tip rather than a medically proven solution.