Five days gives Valle d’Itria enough room for one strong base, Alberobello, Locorotondo, Martina Franca, Cisternino and a real countryside layer without turning the trip into a village race.
Day 1 · Arrive and learn your base

Use the first day to settle into Locorotondo, Cisternino, Martina Franca or a nearby countryside stay. The goal is orientation, an evening walk and an unhurried first meal.
Day 2 · Alberobello and the trulli layer

Visit Alberobello deliberately, then widen the day into the rural landscape so the trulli are understood as part of Valle d’Itria rather than as a single tourist set piece.
Day 3 · Martina Franca and a slower evening

Give Martina Franca enough time for its Baroque centre and local food identity. This is the day to let one larger town carry the itinerary instead of stacking multiple villages.
Day 4 · Cisternino, fornelli and countryside

Cisternino works well as a food-led day, especially when the town is paired with a countryside stop or a slower afternoon rather than another major attraction.
Day 5 · Locorotondo, coast edge or no plan at all

Finish with the place you most want to repeat. Locorotondo, a masseria lunch, a short coast detour or simply a slower final day often gives more value than squeezing in one more famous town.