How long does it take to become a master mason?

There's no specific time frame. There are three degrees in the Masonic Blue Lodge: Apprentice, Journeyman, and Master. Once you obtain all three you're a Master Mason. In principle, it could be done in a day, but it normally takes several months to a year.