---
language: en
title: Set the maximum number of hours to be able to cancel bookings
category: Events configuration
summary: Learn how to limit how many hours before an appointment your customers can cancel, avoiding last minute cancellations and empty slots.
---

# Set the maximum number of hours to be able to cancel bookings

It is common to set a **time limit** for customers who book with you to **cancel an upcoming appointment**. This avoids **last minute cancellations** and empty slots in your schedule that could have been used by other clients.

Let's see **how to set the maximum number of hours** before a booking so that customers can cancel the appointment.

[Log in to TuCalendi](https://account.tucalendi.com/) with your username and password. Go to the **"Calendars"** option:

![Calendar with events](https://www.tucalendi.com/images/content/events-availability-and-setup/en/calendar-with-two-events.png)

**Locate the event** for which you want to set the limit of hours for customers to cancel the scheduled appointment.

In the **horizontal menu**, all the **event configuration options** appear.

Click on **"Advanced"**.

![Cancellation](https://www.tucalendi.com/images/content/events-availability-and-setup/en/advanced-cancellation.png)

In the **"Cancellation"** field, you only have to enter the **limit in hours** up to which a meeting with you can be cancelled.

Once you have entered it, just click on the **"Save"** button to activate the **cancellation limit**.

> [!WARNING]
> Remember to [create the workflows](https://www.tucalendi.com/en/s/flows/add-multiple-triggers-in-a-workflow) to associate the **cancellation template** with the events.