The classic rule — "buy if you'll stay more than five years" — is directionally right but misses the local nuance.
Start with price-to-rent. Divide the home's purchase price by the annual rent for an equivalent nearby unit. Below 15 usually favours buying; above 20 usually favours renting. Vadodara is currently in the 14–18 range depending on locality.
Factor in opportunity cost. Your down payment, if invested at 10 % average returns, has to beat the appreciation + rent-savings math.
Flexibility matters. If there's any chance you move cities in the next three years, rent. Transaction costs on a home sale (brokerage, stamp duty on the next purchase) wipe out short-term gains.
Don't forget maintenance. Budget 1 % of the home value annually for upkeep. Rentals push that cost to the landlord.