Keeping in mind the climate, Dubrovnik the best time to visit will be during the spring and the autumn months of the year. However, during the summer also if you visit, you get to visit the popular festival that is celebrated over there. You can plan your trip accordingly keeping the attractions of the city in mind.