Applause broke out in the courtroom after the judge's announcement Thursday.
The judge revoked bail after the financier entered 11 guilty pleas.
The judge says the 70-year-old Madoff has the means to flee and an incentive to do so because of his age.
Madoff admitted he began operating a giant Ponzi scheme in the early 1990s. Prosecutors say he robbed investors of billions of dollars.
Sentencing has been set for June 16. He could face up to 150 years in prison.
Viewers with disabilities can get assistance accessing this station's FCC Public Inspection File by contacting the station with the information listed below. Questions or concerns relating to the accessibility of the FCC's online public file system should be directed to the FCC at 888-225-5322, 888-835-5322 (TTY), or firstname.lastname@example.org.