I won't reiterate what most of the above have said. But when I was considering this myself a lot of advice I got was about seeking a mortgage broker/advisor who specialise in PhD students looking to purchase property. As they'll have a better understanding of stipend as untaxable income for example and how long PhD stuff tends to go for.