No, EU passport holders (and many others) can stay in Mexico visa-free for up to 180 days. However, you should state the desired length of stay at the border crossing, otherwise you might get less and know nothing about it, which can lead to unnecessary problems later.