There are numerous synonyms for the phrase "loses marbles," which refers to someone losing their sanity or mental stability. Some common alternatives include "goes crazy," "loses their mind," "cracks up," "flips out," "loses it," "loses their wits," and "becomes unhinged." Other idiomatic phrases that convey similar meaning include "takes leave of their senses," "falls apart," "has a breakdown," and "comes unglued." While these phrases may seem humorous or colloquial, they can also be used in more serious contexts to describe someone experiencing a mental health crisis or breakdown.