In many cases foreigners have limited access to mortgages from Thai banks. Some banks do offer mortgages to non residents or foreign buyers, but often the terms are stricter, and you may be required to show proof of income, legal residency, etc. Always check with specific banks. (Less well documented in the sources reviewed, so it’s advisable to consult local experts.)