A roofing warranty is a legal agreement between a homeowner and a roofing contractor that covers the performance of the newly installed roof for a defined period of time. Knowing these warranties is important to ensure you are adequately protected against future expenses. Warranties typically include both material defects and workmanship problems.