Check your product manual as well
Safety standards can vary somewhat depending on your microwave model and the container manufacturer. This page summarizes widely known general precautions; if your specific microwave or container comes with separate instructions in its manual, it's safest to follow those first.
Why microwaves cause these specific problems
A microwave oven heats food by sending microwaves that make water molecules vibrate, and that vibration produces heat. This explains most of the rules above. Metal reflects the waves and can arc, trapped water turns to steam and builds pressure in eggs and sealed containers, and smooth plain water can heat without bubbling because there are no spots for bubbles to start. Once you picture heat coming from water inside the food, the rules become easier to remember than a list.
What to do if something goes wrong
If you see sparks or flames, stop the oven immediately, but keep the door closed so flames starve of oxygen, and unplug the oven if it is safe to do so. Do not use water on an electrical fire. If a fire does not die out quickly, leave and call emergency services. After any incident, check the door seal and interior for damage before using the oven again, and do not use it if the door does not close properly or the cavity is burned or arcing.
Curious about kitchen safety in general?
If you're curious about how to safely use cleaning products at home, see our guide to types of cleaning supplies and dangerous combinations as well.
Frequently Asked Questions
Should I never use a dish that has no microwave-safe label?
As a rule, yes. Without a label, there's no reliable way to confirm its safety. In particular, it's hard to judge by eye whether colored-glaze ceramics or older plastic containers are safe, so it's recommended to switch to containers with a clear microwave-safe label.
What should I do if my microwave smells really bad?
A common method is to mix vinegar or lemon juice into water, heat it, let the steam escape, then wipe the interior with a dry cloth. If the smell persists, it could indicate an issue with internal components, so it's a good idea to contact the manufacturer's service center for an inspection.
Is it safe to stand in front of the microwave while it runs?
Microwave ovens are built with shielding and door interlocks that keep the waves inside, and ordinary use with an undamaged oven is considered safe. Avoid using an oven with a damaged door, hinge, or seal, and stop if it runs with the door open.
Can I microwave water for tea in a mug?
Yes, but heat it for a shorter time than you think, avoid very long cycles, and put a wooden stick or microwave-safe spoon in the mug. Let it stand briefly after heating, and be careful when adding a tea bag or sugar, which can trigger sudden boiling.
Why does my food explode or splatter?
Steam builds up quickly inside foods with skin or tight covers. Cover with a loose, vented lid, pierce skins, and heat in shorter bursts at lower power.