Fire crews were called to an arson attack at Brighouse Library this morning.
Some kind of accelerant was thrown at the door of the building on Halifax Road before it was set alight.
The paint blistered and there was soot damage but the fire did not spread inside the library.
Firefighters, who were alerted at 4.05am, and police are investigating.
The library is open as usual.