The duration required to explore Krakow is dependent on your preferences, the pace of your travel, and the time available.
For a basic overview of the city's major attractions, a two to the three-day itinerary is generally sufficient. During this time, you can visit Wawel Castle, explore the historical sites and museums in the Old Town, take a walk through Kazimierz (the Jewish Quarter), and try out some of the traditional Polish delicacies.
However, if you're interested in delving deeper into Krakow's history, art, and culture or taking day trips to nearby destinations, you might need to allocate more days to your itinerary.