You can sell whenever you wish, but you will more than likely lose money if you buy a home and sell too quickly! The payments you make in the early part of your loan mainly go to the interest portion of your loan, not the principle. If you sell early in the process, unless you have made extra principle payments, got the home at an extremely low price, or made a large down payment, you will most likely have to bring money to the closing table in order to sell.