Foreigners who come to Thailand normally will get a 30 days arrival visa in their passport. A 10 day extension can be done at immigration in Bangkok, but it will cost you 1,900 baht. This can almost ruin your day by queuing, traveling and handling all the paperwork with your passport at the Bangkok Immigration office. If you are willing to stay longer in Thailand, then you have to leave the country and return back again.