user21797: How many grandmasters have been stripped of their grandmaster titles? I heard about a GM in the bathroom who had his taken away, and was wondering what other circumstances have resulted in a GM losing their title.

user19877: After doing some checking, it seems that this is a relatively new phenomenon. Before the advent of technology, and strong chess playing programs on smartphones, it does not appear that any GMs had ever been stripped of their titles until GM Gaioz Nigalidze, at least that I could find.
Gaioz Nigalidze was stripped of his GM title after being caught with a phone in a bathroom stall at the 2015 Dubai Open. He had been suspected for some time.
The case that you probably read about was GM Igors Rausis. Last year, Rausis made international news when he was caught doing the same thing in a bathroom stall at the Strasbourg Open. His behavior and meteoric rating increases over the course of 6 years had put him on the radar for a long time.
This seems to have set a good precedent as far as I am concerned as there is no room for cheating.
P.S. I found this interesting post that, believe it or not (at least in the case of Nigalidze) claimed he could earn the title again if he completed the norms in the future; but the official FIDE ethics report does not mention the possibility either way.

21797: <p>How many grandmasters have been stripped of their grandmaster titles? I heard about a GM in the bathroom who had his taken away, and was wondering what other circumstances have resulted in a GM losing their title.</p>
 19877: <p>After doing some checking, it seems that this is a relatively new phenomenon. Before the advent of technology, and strong chess playing programs on smartphones, it does not appear that any GMs had ever been stripped of their titles until GM Gaioz Nigalidze, at least that I could find.</p>
<p><a href="https://en.wikipedia.org/wiki/Gaioz_Nigalidze" rel="nofollow noreferrer">Gaioz Nigalidze</a> was stripped of his GM title after being caught with a phone in a bathroom stall at the 2015 Dubai Open. He had been suspected for some time.</p>
<p>The case that you probably read about was GM Igors Rausis. Last year, Rausis made international news when he was caught doing the same thing in a bathroom stall at the Strasbourg Open. His behavior and meteoric rating increases over the course of 6 years had put him on the radar for a long time.</p>
<p>This seems to have set a good precedent as far as I am concerned as there is no room for cheating.</p>
<p>P.S. I found this <a href="https://www.chess.com/news/view/nigalidze-verdict-3-year-ban-gm-title-stripped-4875" rel="nofollow noreferrer">interesting post</a> that, believe it or not (at least in the case of Nigalidze) claimed he could earn the title again if he completed the norms in the future; but the official <a href="https://ethics.fide.com/images/stories/Ethics_case_7_2015_Decision.pdf" rel="nofollow noreferrer">FIDE ethics report</a> does not mention the possibility either way.</p>
