There are plenty of possibilities for an overnight stay in Delft, of which most are in the beautiful historic centre on walking distance from the campus of the university.
You can book directly via: or you can book by other booking sites like

As a cheaper alternative for a hotel or appartment in Delft you can check the lodgings, rental accommodations or camping the Delftse Hout at: