Maintenance is generally granted for as long as the petitioner is unable to support themselves or until the petitioner remarries. The court may also grant maintenance for a specific period of time, depending on the circumstances of the case.