What is the legal age to buy a house?

I would say when your at least 19 and graduated from high school. With a decent job. Remember 19 if the legal age to sign a real document.