Here's my free advice, so take it as seriously as the price you paid for it.
🙂 Consider renting for the next few years.
First, you are wise to be skeptical of today's popular loans designed to help people "afford" expensive houses on low salaries with nothing down. They rarely make financial sense to anyone except the broker who gets a nice commission up front.
Second, most objective observers of the US housing market today believe that most homes in most markets are overvalued, and that some correction is imminent. (Areas away from the east or west coast appear to be less overvalued.) When that happens, people who put nothing down will be underwater on their homes, and unable to sell without bringing their checkbooks to closing. You probably don't want to exit residency training with $xxx,xxx of student loan debt, an empty savings account, and a house that's worth xx% less than what you paid for it.
Consider renting while you're a resident. Let the real estate market fall out of the stratosphere, and by the time you're an attending making great money you'll be in a fantastic position to buy a house during the next dip in the cycle.
We're going to sell our house next month for an absurd profit, park that money in some reasonably safe short-term investments, and rent for the 3 years I'll be a resident. Even though we'd have a large down payment in hand and could afford an expensive home, we're not going to bite in this market.
There are plenty of web sites out there that are full of information and advice on the current status of real estate in this country. Ignore anyone who's a real estate agent or mortgage broker; they work on (large) commissions and will lie to you. If you don't buy, they don't get paid. They might tell you real estate only goes up, or that prices might "only" go up 10% this year, or that you'd better buy now now NOW lest you be left behind, or that their nothing-down stated-income interest-only negative-amortization loan is "good" for you, or that they'll work some "special" deal just for you because you're a doctor and doctors are special.
Take the time to educate yourself, and do an honest assessment of what would likely happen to
you if you bought a house with 100% financing and that property depreciated even a little bit. (Remember that it'll end up costing you 5-7% to sell it, too.)
I'm not a doomsday predictor who's buying gold bars, guns, ammo, and canned food for my bomb shelter ... but I'm also not buying a house this year. I believe people buying houses today are like people who bought tech stocks in 2000. A bubble is a bubble,
we've been here before, and it's no different this time around.
Inventory is already up 500% in the San Diego area compared to this time last year. The correction is happening there; other areas will follow. Don't buy at the top.
JMHO.