Yes, two days in Edinburgh is the perfect amount to see the city highlights. If you want to spend more time exploring museums, taking tours, or doing day trips, then I would recommend staying at least three to five days.