Most of the time when you need boiling water you don't need to keep it at a rolling boil.
I've found that the best way to keep things from boiling over is to reduce the heat slightly, so while the water is still boiling it's not quite so vigorous.
That, or you can try using a larger pot when cooking.
lifehacks.stackexchange.com/users/2417/tekniklr
Here is a method that involves butter that may help the problem: Rub a bit of butter around the top of the pot.
You will need about 1/2 tsp, more shouldn't hurt the food.
Some people add it directly into the pot, but it may work either way.
Additional Info Thrifty Fun
How do I stop my pans boiling over?
-
In this answer it says you can use oleo, butter, or crisco.
And to have at least a 1-2 inch ring.
The differences shouldn't matter as long as you add at least 1/2 inch.
lifehacks.stackexchange.com/users/2420/Josh
The most common life hack is to put a wooden spoon across a boiling pot of water to keep it from boiling over.
Set it and forget it!
Few tips:
it depends what are you boiling (e.g. pasta, soup) as it won't work with only plain water pot,
it really depends on the spoon and how much wood surface area you'll give to the water (the more, the better),
it can make a difference to put the spoon on it earlier, if you deliberately turn the heat all the way up just to test it, a single spoon could not help here.
Why does it work?
The theory behind how does it works is that the wooden spoon breaks a surface tension of the bubbles and it's also not a very good conductor of heat, so it helps to cool the bubbles off when they reach the surface.
In other words, when the foam bubbles up it will eventually meet the spoon.
The foam is thermodynamically unstable, which means when the bubbles reach the spoon they will burst, breaking the layer of foam and sending all of the bubbles collapsing down again.
[ gizmodo ] Alternatively just use the bigger pot with higher walls to climb.
Here are few videos demonstrating a wooden spoon method:
Use a Wooden Spoon to Keep Water from Boiling Over - Jazzy Gourmet Cooking Studio
How to Stop Water from Boiling Over Trick
How to Use a Wooden Spoon to Stop Pots from Boiling Over Kitchen Tips "Wooden Spoon" Stop Water From Boiling Over
lifehacks.stackexchange.com/users/2272/kenorb
I agree with not keeping the water at a rolling boil, if it doesn't need to be, and if you get into a really big pinch, and the recipe can take it, throw in some salt.
The salt increases the water's boiling point and will stop the water from boiling.
lifehacks.stackexchange.com/users/1732/Jason D.
At the moment that it starts to boil over, lift it from the heat.
This will usually stop the boilover.
If possible, turn the heat down before you set it back on the heat again.
If simply lifting it doesn't work, try blowing on it as you would blow on a hot cup of coffee .
This stops the boilover (and will keep it stopped as long as you blow) giving you time to move the pot, turn the heat down, or otherwise deal with the issue.
You may think that it won't work but next time you face a boiling-over pot, try it!
lifehacks.stackexchange.com/users/5107/Kate Gregory
I keep a wooden clothespin in the kitchen.
When I make pasta or rice, I clip the clothespin to the lid, creating a small gap between the lid and pan.
With the lid closed, the pan would boil over.
With the pin in place, the boilover doesn't occur (at the same heat setting).
lifehacks.stackexchange.com/users/5307/Hobbes
It's very common to boil something (e.g. pasta) and then after few minutes you hear the hissing sound of water boiling over and your whole kitchen is a mess.

How do you stop the water from boiling over?
How to keep water from boiling over?
lifehacks.stackexchange.com
<food><water>
lifehacks.stackexchange.com/questions/3898
lifehacks.stackexchange.com/users/2272/kenorb
It's questionable whether there is always a need to maintain a pan at a rolling boil anyway, so one method would be to simply reduce the heat slightly so that while the water is still boiling it's not quite so vigorous. However, other techniques to keep water from boiling over include rubbing butter around the top of the pot, putting a wooden spoon across the pot and creating a small gap between the lid and pan by clipping a clothespin to the lid. Alternatively, you could just remove the pan from the heat before it starts to boil over or add some salt. Options include turning down the heat to avoid a rolling ball, rubbing butter around the rim of the pot, putting a wooden spoon across the boiling water, throw in some salt, lift the pot from the heat or prop the lid up.
Avoid keeping the pan at a rolling boil by turning down the heat or use a larger pan Rub 1/2 tsp of butter around the rim of the pot. Put a wooden spoon across the boiling water. Throw in some salt to raise the water's boiling point. Lift the pan from the heat and if neceessary blow on the water. Prop the lid open with something like a wooden clothespin.