Mexico: the restricted zone, the trust and the company
Fifty kilometres from the sea and 100 from a land border: inside that strip, a foreigner cannot hold title to land in Mexico. The Secretariat of Foreign Affairs (SRE) describes a band of 100 kilometres along the borders and 50 along the beaches, written into the constitution.
The route in is a trust, a fideicomiso. A Mexican bank holds the title as trustee and you are the beneficiary, with the right to use the property and to receive what it earns. The law caps a trust at 50 years, renewable on request. The SRE ties the permit to residential use and accepts the application only from the bank's trust officer, filed electronically. How long a permit takes today: Not published; ask the SRE.
A Mexican company does not take you out of the zone either. It can hold title inside it only for non-residential activity, with the Article 27 agreement in its bylaws and a notice to the SRE within 60 business days. For a home, a company without a foreign-exclusion clause gets the same trust route you do.
Outside the strip, foreigners can buy directly, but the SRE still comes first. You file a written agreement accepting the conditions of Article 27, fraction I of the constitution, and obtain a permit. If the municipality lies wholly outside the zone, the permit counts as granted unless a refusal is published within five business days. If the municipality is partly inside, the SRE has 30 business days. INEGI, the statistics institute, publishes the list of municipalities in each category.

Thailand: land stays Thai, condominium units do not
Non-Thai citizens and businesses are generally not permitted to own land in Thailand. That is the starting point in the foreign ministry's 2014 business guide. A company more than 50% Thai-owned can own land, and a Board of Investment promoted company can apply to own it even with 50% or more foreign shares.
For an individual, the 1999 amendment to the Land Code allows up to 1,600 square metres for residential use, with the Ministry of Interior's permission, if you invest at least 40 million baht and keep it invested for more than five years. Whether those figures still apply: Not published; ask the Department of Lands.
Condominiums follow their own quota, and the same guide says foreigners can lease land and own a building on it. If a transfer would take the foreign share past the cap, the official rejects it. The Department of Lands publishes a 2004 regulation on foreign ownership of units, so the building's current foreign share is the first thing to ask about.
Malaysia: the state decides, and each state sets its own floor
RM 1,000,000 is the lowest price at which Johor lets a foreign interest buy a home from another owner. It is Johor's figure, not Malaysia's. Land is a state matter: the federal land and mines department says non-citizens and foreign companies need approval from the State Authority, and that consent must be obtained before a transfer.
Johor's definition of a foreign interest includes permanent residents, as well as non-citizens, foreign companies and local companies with more than 50% foreign voting rights.
Buying new adds quotas. For homes bought directly from a developer, Johor caps foreign buyers at set shares of a project, from 20% to 50% depending on the type of home. Some property is closed to foreign interests altogether, including low-cost units, auction land and Malay Reservation land.
The Johor page shows no effective date. For another state's floor: Depends on the state; ask its land and mines office.
Costa Rica: the first 200 metres are not for sale
Two hundred metres from the ordinary high-tide line, measured horizontally, is where Costa Rica's maritime-terrestrial zone ends. The whole strip belongs to the state and cannot be sold. The first 50 metres are the public zone. The remaining 150 are the restricted zone, and only there can the municipality grant a concession for use, for a term of 5 to 20 years. The fee replaces property tax, and passing a concession to someone else needs the municipality's express authorisation.
Foreign applicants meet extra conditions in Article 47. A concession cannot go to a foreigner who has not lived in Costa Rica for at least five years. Nor can it go to a company based abroad, one formed in the country by foreigners or one more than 50% foreign-owned. A holder cannot pass shares to foreigners, and a transfer that breaks the rule is invalid.
Article 6 leaves out coastal city areas and properties registered to private owners in line with the law. Whether a particular plot falls under it: Depends on your case; ask the municipality. The table sets the four limits side by side.
| Detail | Mexico | Thailand | Malaysia | Costa Rica |
|---|---|---|---|---|
| The limit | No title within 50 km of the beaches or 100 km of a land border | Generally no land; units capped at 49% foreign share in a building | State Authority approval; Johor sets a RM 1,000,000 floor | The first 200 metres from the high-tide line belong to the state |
| Who decides | The SRE, through a permit | Land officials, who reject a transfer past the cap | The State Authority, before a transfer | The municipality, for a concession |
| How a foreigner holds property | A bank trust of up to 50 years, renewable | Leased land with an owned building, or a condominium unit | Depends on the state; ask its land and mines office | A concession of 5 to 20 years in the restricted zone, after five years of residence |
Spain: an identity number, then a tax that depends on the region
A foreigner buying in Spain starts with an NIE, the foreigner identity number. It is for people tied to Spain by economic, professional or social interests, and a Spanish consular page lists buying property among the reasons to ask for one. From abroad you apply through the consulate for your place of residence, using form EX-15. You or an accredited representative must attend in person, and London normally issues the number within three weeks. An NIE gives no right to live in Spain.
The London consulate's file is a useful picture of what the application looks like. The EX-15 form must state the economic, professional or social reasons for the request, with documentary proof of that need, your passport, a document showing you live in the consular area and form 790, code 12. The fee, £8.65 on the day of the appointment, is paid at the consulate by card. A representative needs a power of attorney that names the NIE application expressly, and it must be apostilled. The number arrives by email, so the form needs an address you will check.
Which tax follows depends on what you buy. A new home from a developer carries VAT at 10%, or 4% for protected housing under the special regime or public promotion. A used home carries transfer tax, paid by the buyer to the regional tax authority where the property stands. The rate: Depends on the region; ask that region's tax authority.
When the seller is a non-resident, the buyer must withhold 3% of the agreed price as a payment on account of the seller's tax, using form 211.
Portugal: a tax number, and a representative if you live outside Europe
The NIF, Portugal's tax number, has nine digits and does not change if you later become a resident. A non-resident can request it through a legal representative on the tax authority's e-balcão, or at a tax office or Loja do Cidadão by appointment. It takes a passport and a document showing your address abroad. No tax representative is needed for the NIF itself.
Owning property changes that. Once you own a property in Portugal and live outside the EU, Norway, Iceland and Liechtenstein, you must appoint a fiscal representative or join the electronic notification system, within 15 days. The fine for failing is between €75 and €7,500. Residents of those European countries can choose either option.
The purchase carries stamp duty at a fixed 0.8% on the same value as the transfer tax, IMT. The IMT rate depends on the nature and purpose of the property. The IMT declaration (Modelo 1) is filed before the deed, both taxes are paid on the day of settlement or within 30 days, and proof of payment is shown on the day of the deed.
France and Italy: the bill depends on how you buy
A notary must be involved in every home purchase in France, and the duties on a used home are set by the département. The departmental duty runs from 1.20% to 4.50% of the price, with 4.50% the most common. A municipal tax of 1.20%, collection costs and a 0.10% security contribution bring the maximum to 5.81%. Notary fees are separate.
In Italy, the largest difference comes from the "prima casa" status. Buying from a private seller, registration tax is 2% for a first home and 9% otherwise, plus €50 each for the mortgage and cadastral taxes. The status is tied to where you live or work. The home must be in your municipality of residence or work, or you must move your residence there within 18 months of buying. Someone who moved abroad for work can buy in their municipality of birth or earlier residence if they lived or worked in Italy for at least five years.
Whether a foreign buyer who stays abroad qualifies: Depends on your case; ask the Agenzia delle Entrate.
What the purchase tax looks like in four countries
Spain
New home: VAT of 10%, or 4% for protected housing. Used home: transfer tax set by the region. A non-resident seller means the buyer withholds 3%.
Portugal
IMT, whose rate depends on the nature and purpose of the property, plus stamp duty at a fixed 0.8%. Both are paid on settlement day or within 30 days.
France
Departmental duty of 1.20% to 4.50%, a municipal tax of 1.20%, collection costs and a 0.10% contribution, up to 5.81% in all. Notary fees are separate.
Italy
Registration tax of 2% for a first home from a private seller, 9% otherwise, plus €50 each for the mortgage and cadastral taxes.
What to settle before you pay a deposit
Most of these limits attach to the place and the type of title, so the checks come before any money moves. The order below saves the most time, because the early steps can end the plan cheaply.
Four checks before a deposit
Find where the property sits relative to the line
50 or 100 kilometres in Mexico, 200 metres in Costa Rica, or the foreign share already in a Thai building.
Name the body that has to approve
The SRE, a Malaysian State Authority, a Costa Rican municipality, or the Department of Lands in Thailand.
Get the number you need first
An NIE in Spain or a NIF in Portugal, and ask how long it takes from where you live.
Check who sets the tax
Whether the tax on your kind of purchase is national or set by a region or département.
Questions people ask
Can a foreigner buy a home in Mexico?
Yes. Inside the 50-kilometre beach band and the 100-kilometre border band, the route is a bank trust (fideicomiso) of up to 50 years. Outside the bands foreigners can buy directly, after filing an agreement with the SRE and obtaining a permit.
Can foreigners own land in Thailand?
Generally not. Foreigners can hold title to condominium units up to 49% of the units in a building, or lease land and own a building on it.
Can I buy beachfront property in Costa Rica?
Not in the first 200 metres from the high-tide line, which belong to the state. In the restricted zone only a municipal concession of 5 to 20 years is possible, and a foreigner needs five years of residence to get one.
Does an NIE or a NIF give me the right to live there?
No. Spain's NIE gives no right to live in Spain, and Portugal's NIF is a tax number that stays the same if you later become a resident.
Will Italy's first-home rate apply if I stay abroad?
Depends on your case; ask the Agenzia delle Entrate. The status is tied to where you live or work, and the home must be in your municipality of residence or work unless you move there within 18 months.
Fernshore articles explain published rules as of the dates shown in the sources. They are research, not legal, tax or financial advice for your situation.
Sources
- Permit to set up a trust in the restricted zone, Secretaría de Relaciones Exteriores (Mexico). Checked 17 October 2026.
- Foreign Investment Law (Ley de Inversión Extranjera), articles 10 to 14, Orden Jurídico Nacional, Secretaría de Gobernación (Mexico). Checked 17 October 2026.
- A Business Guide to Thailand 2014, chapter 5: land ownership, Ministry of Foreign Affairs (Thailand). Checked 17 October 2026.
- Land Department regulation on condominium unit ownership by foreigners, B.E. 2547, Department of Lands (Thailand). Checked 17 October 2026.
- Land owners: transfers to non-citizens and foreign companies, Department of Director General of Lands and Mines, JKPTG (Malaysia). Checked 17 October 2026.
- Acquisition of property by foreign interests (Perolehan hartanah oleh kepentingan asing), Johor Land and Mines Office (Malaysia). Checked 17 October 2026.
- Law 6043 on the maritime-terrestrial zone, Costa Rica Legislative Assembly, published by the national territorial information system. Checked 17 October 2026.
- Foreigner identity number (NIE): consular application, Ministry of Foreign Affairs, European Union and Cooperation (Spain). Checked 17 October 2026.
- NIE reasons for the request, Spanish consular services, Ministry of Foreign Affairs, European Union and Cooperation (Spain). Checked 17 October 2026.
- Tax identification number for foreign citizens who are non-residents, Tax and Customs Authority, Portal das Finanças (Portugal). Checked 17 October 2026.
- Fiscal representation of non-residents: frequently asked questions, Tax and Customs Authority, Portal das Finanças (Portugal). Checked 17 October 2026.
- Buying a home: VAT or transfer tax; withholding when the seller is a non-resident, Agencia Tributaria (Spain). Checked 17 October 2026.
- Buying a home: IMT and stamp duty, Tax and Customs Authority, Portal das Finanças (Portugal). Checked 17 October 2026.
- Buying an existing home: duties, Direction générale des Finances publiques, impots.gouv.fr (France). Checked 17 October 2026.
- First-home tax benefits: rates, Agenzia delle Entrate (Italy). Checked 17 October 2026.
- First-home tax benefits: who qualifies, Agenzia delle Entrate (Italy). Checked 17 October 2026.
- Withholding by the buyer of a property from a non-resident seller, Agencia Tributaria (Spain). Checked 17 October 2026.
See what your situation makes possible.



