The death happened at the Kings County Criminal Courthouse.
Police say the 46-year-old man suffered a medical episode and was found unconscious and unresponsive after 10 p.m.
Police have not released his name or said why he was in custody.
The Medical Examiner will determine his exact cause of death.
----------
* More Brooklyn news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube