Ants overrunning a home is a nightmare situation, and it seems like even if you spot only one, it is inevitable that there are dozens or hundreds more ready to turn your home into their own private picnic. Amongst the strangest and creepiest places to find ants in your home are your appliances. They are attracted to toasters, microwaves and countertop ovens for the same reason you are: that's where the food is. As soon as you spot an ant in an appliance, it's time to take action before the whole colony moves in.
Unplug the appliance. Lift the appliance off its place on your counter or table and use a damp rag to wipe up any spills, crumbs or other food bits that are underneath.
Wipe down the exterior of your appliance with a damp rag to remove all food residue. If it is a microwave or a similar appliance, where you can get inside, wipe down the interior as well. If not, turn the appliance upside down over a trash can or empty the catch area of the appliance to remove all food particles.
Wipe the area around the location of the appliance. Do this at least once per week, as well as cleaning under the appliance, to prevent food buildup. This buildup is what attracts the ants.
Draw a line of chalk around the exterior of your appliance, either around the base of the appliance itself or on the counter or table around it. Ants will not cross a chalk line, since the chalk covers the pheromone scents they use to find their way back to the colony.