Yes, Bogotá carries a mandatory accent mark (tilde) on the final "a"—written as Bogotá. This diacritical mark is not optional; it is an integral part of the correct Spanish orthography for Colombia's capital city.
Spanish accent rules dictate that words ending in a vowel, "n," or "s" are stressed on the penultimate (second-to-last) syllable by default. "Bogota" without an accent would be pronounced bo-GO-ta (stress on "GO"). However, the city's name is pronounced bo-go-TÁ, with stress on the final syllable. The acute accent (´) over the "a" explicitly overrides the default rule, signaling this irregular stress pattern.
The name derives from the Muysccubun (Chibcha) language of the Muisca people: Bacatá or Muequetá, meaning "enclosure outside the farmfields" or "lady of the shining mountain." Spanish transliteration preserved the final-syllable stress, necessitating the accent mark in written Spanish.
Omitting the accent ("Bogota") is a frequent error in English-language contexts but is considered incorrect in Spanish. Similarly, placing the accent on the "o" ("Bógota") misrepresents the pronunciation. In all Spanish-language contexts—official documents, maps, media, academic writing—the form Bogotá is required.