See where to get a tourist card at the El Chaparral border crossing (San Ysidro/Tijuana).
It is important to note that in Baja, even though you may take your vehicle to the end of the peninsula without a vehicle permit (see vehicle importation regulations) you must have a tourist card.
If you are a U.S. or Canadian citizen traveling to Mexico for tourist reasons, you may only need a tourist card (FMM). For citizens of other countries, view the INM's list of Coutries and Regions That Do Not Require a Visa To Travel to Mexico - but DO require an FMM.
Most tourists who drive across the border obtain their tourist card from an immigration office at the border crossing. They are also available at border zone airports, airlines flying to Mexico, travel agencies and other ports. Tourist cards are no longer available at Mexican Consulates. Keep in mind that if you obtain your tourist card before crossing the border, you will still have to stop at the Mexican immigration office at the border to document your entry date and to have your tourist card stamped by immigration officials.
As of January 2015, tourist cards cost $295.00 pesos (appx U.S. $22) and can be issued for up to 180 days. It is advisable to have your card valid for 180 days even if you don't plan on staying in Mexico that long. It is easier to already have the time granted to you than extend your card later if you stay longer.