Narrative:

Took off ZZZ runway 28R. Departure cleared us direct ZZZ1. A yellow message flickered on for 2 seconds. We were not sure what message. It was above 10000 ft. Message flickered again and we noticed it was toilet smoke. Crew followed QRH and there was no sign of actual smoke or fire. Called dispatch and maintenance. We agreed to divert to ZZZ2 to comply with the QRH. At the time we were 42 mi northeast of ZZZ2. Notified center of our intentions to divert and also declared an emergency. First officer call ZZZ2 operations and told them our intentions. Flight attendant and passenger were notified. Landed in ZZZ2. WX was VFR. Landed uneventfully. Emergency vehicles followed us to the gate. After completing the parking checklist; the emergency personnel entered the cabin and confirmed no actual fire or smoke in toilet or anywhere inside the airplane. Maintenance checked and deferred the system. Took off from ZZZ2 to continue our flight to ZZZ3. Flight was uneventful.

Google
 

Original NASA ASRS Text

Title: CRJ200 RECEIVES FALSE TOILET SMOKE WARNING AND DIVERTS.

Narrative: TOOK OFF ZZZ RWY 28R. DEP CLRED US DIRECT ZZZ1. A YELLOW MESSAGE FLICKERED ON FOR 2 SECONDS. WE WERE NOT SURE WHAT MESSAGE. IT WAS ABOVE 10000 FT. MESSAGE FLICKERED AGAIN AND WE NOTICED IT WAS TOILET SMOKE. CREW FOLLOWED QRH AND THERE WAS NO SIGN OF ACTUAL SMOKE OR FIRE. CALLED DISPATCH AND MAINT. WE AGREED TO DIVERT TO ZZZ2 TO COMPLY WITH THE QRH. AT THE TIME WE WERE 42 MI NE OF ZZZ2. NOTIFIED CTR OF OUR INTENTIONS TO DIVERT AND ALSO DECLARED AN EMER. FO CALL ZZZ2 OPS AND TOLD THEM OUR INTENTIONS. FLT ATTENDANT AND PAX WERE NOTIFIED. LANDED IN ZZZ2. WX WAS VFR. LANDED UNEVENTFULLY. EMER VEHICLES FOLLOWED US TO THE GATE. AFTER COMPLETING THE PARKING CHKLIST; THE EMER PERSONNEL ENTERED THE CABIN AND CONFIRMED NO ACTUAL FIRE OR SMOKE IN TOILET OR ANYWHERE INSIDE THE AIRPLANE. MAINT CHKED AND DEFERRED THE SYS. TOOK OFF FROM ZZZ2 TO CONTINUE OUR FLT TO ZZZ3. FLT WAS UNEVENTFUL.

Data retrieved from NASA's ASRS site as of January 2009 and automatically converted to unabbreviated mixed upper/lowercase text. This report is for informational purposes with no guarantee of accuracy. See NASA's ASRS site for official report.