<prompt> Human: A little background, my SO and I have a combined income of maybe 50 grand plus some family donations in savings for just this reason. BUT we only plan on living in our community US city until we finish med school at which point well be moving out of state. We want to save, the only area we have left to cut costs back is in our monthly rent. We were thinking of buying a condo closer to our med school to save on travel expenses and ultimately a mortgage seems cheaper with purchasing a home HOA charges included. This is uncharted territory for me, my husband seems to have all the answers when i ask him about this and that, but i would like to know a thing or two as well. I feel this is a smart plan, but i feel like maybe its not because im hesitant. At this point though with only 2 years left is it really worth it. Saving close to 5 grand is reason enough for me but i know im missing some additional costs. please tell me what those arewhat im not considering here. Thank you for any knowledge you can spare!  <response>: Youre going to pay to buy, and pay to sell if you go this route. When you buy, youll have to pay for inspections, appraisals, loan origination, and other fees to get started. Depending on how much of a loan you need to take out, this will be several thousand up front. When you sell, youre real estate agent is going to typically charge you 6 of the sales price. And over the two years, your mortgage will almost entirely be going towards the amortized interest..You will come out of this with very little equity in the condo. Plus there is the hassle of having a condo in city you no longer live in that needs to be sold. What if you cant sell it right away? You may end up unintentional landlords living half way across the country.Long story short, anything you may save when you compare paying rent to paying the mortgage is likely to be lost once you factor in what it will cost to get the mortgage and what it will cost to sell in two years. 