Several years ago, we thought we would retire to Mexico (you know to visit our money) and obtained info from the Mexican consulate on living there.
It stated you could own land but not within 100 miles of a coastline or border. That may have changed - but that has been within the last 6 years.
I remember you must have a guaranteed income of a certain amount and there were some restrictions regarding household goods - don't really remember what.
20 years ago a man I knew was planning to retire in Mexico. We took a trip down there and found that Americans could purchase property with a Mexican. Joint ownership, but with the Mexican having 51% and the gringo 49%. This would have still given you part-ownership as opposed to leasing. I suppose this was changed long ago.