The decision on whether to rent or buy should not be based solely on a need to build credit. You can build credit by obtaining a credit card and properly managing your spend and debt payments. In fact, I’m not sure you would be able to obtain a mortgage easily without having built some credit before. I suggest you start with a department store credit card or a major credit card if you can. I am not suggesting, however, not to buy a house if you concluede that for all the right reasons this is the time to do so, and you are able to obtain a mortgage..