Masjid Tanah (Jawi: مسجد تانه) is a town and parliamentary constituency in northwestern Malacca, Malaysia, bordering Negeri Sembilan across the Linggi River.
Masjid Tanah once belonged to the state of Naning until the British conquest in 1832 when it was integrated to the Straits Settlement of Malacca.
In the late 1990s, there was a real estate boom in Masjid Tanah when the government decided to build a Petronas oil refinery in nearby Sungai Udang.
Since 2021, there is a proposal to detach Masjid Tanah as a separate district from Alor Gajah, pending final approval from the Federal Government.
They usually carry "Loghat Hulu" (a dialect in Malay language also similar to Negeri Sembilan but slightly different) or Minang accent, and shared the same culture of Adat Perpatih.