Tourists descend on Edinburgh every August for the Edinburgh International Festival, a citywide celebration of theater, music, opera and dance performances; the nearly 3,000 Festival Fringe shows; and the Royal Edinburgh Military Tattoo -- military bands playing pipes and drums followed by fireworks. But the Scottish capital's historic sites and winding walks offer a different charm at quieter times of the year, and its restaurants are the highlight of any visit. Haggis and fish and chips now share menu space with local, organic and sustainable fare, and there is a cafe, restaurant or bar on practically every block. That means you can happily eat and drink your way through the city if the weather is wet -- which is not unlikely, so plan your outdoor activities around the daily forecast. Before your trip, check The List (list.co.uk) for restaurant reviews and a guide to exhibitions, shows and events.
3 p.m.1. Small Plates & Portraits
Start your culinary tour at Urban Angel on Hanover Street (121 Hanover Street; urban-angel.co.uk) near Queen Street Gardens, where the cakes, muffins and croissants pair nicely with a mug of fair-trade coffee or a cup of Earl Grey tea. Little plates and salads (£4 to £7, or $5.95 to $10.35 at $1.48 to the pound) emphasize organic and seasonal greens, like polenta bites with rocket (arugula) and Parmesan or a Caesar salad with pancetta and anchovies. Once sated, pop into the newly renovated Scottish National Portrait Gallery on Queen Street (1 Queen Street; nationalgalleries.org), one of Edinburgh's many free museums. Featuring portraits of famous Scots -- though not all by Scottish artists -- the collection ranges from paintings of historic figures like Mary Queen of Scots to portraits of actors like Sean Connery; the Portrait Gallery also has an extensive collection of photography.
4 p.m.2. Stair Climb
If the sky is clear, climb the 287 steps to the top of the Scott Monument (East Princes Street Gardens; edinburghmuseums.org.uk; £4), a Gothic tower built in the 1840s to honor the writer Sir Walter Scott. The circular stone staircase narrows precipitously as you ascend, but if you can squeeze past other visitors on their way down (which can involve some sideways maneuvers), you'll be rewarded with 360-degree views of the city. After descending, recuperate on a bench in Princes Street Gardens, once a flooded valley protecting Edinburgh Castle that is now a bucolic spot for a break. Then browse the paintings and sculpture at the nearby Scottish National Gallery (The Mound/Princes Street; nationalgalleries.org). The collection includes works by such artists as Gauguin, Bernini and Sir Henry Raeburn. Often a kilt-wearing bagpiper will be playing on the esplanade outside.
6 p.m.3. Pub Stop
Drop by the Doric (15-16 Market Street; the-doric.com), one of the city's oldest pubs, to sample the selection of 50 single-malt whiskies or the Edinburgh-brewed ales on tap. Built in the 17th century, it was originally a linen shop but now serves whiskies ranging from a 10-year-old Glenmorangie (£4) to a 30-year-old Balvenie (£30). Even the Doric is promoting "fresh local produce" served in the bistro upstairs, but downstairs at the bar you can munch on a more traditional snack: a bag of salt and vinegar crisps.
8 p.m.4. Bistro Buzz
The whitewashed walls and minimalist décor at the Outsider brasserie (15 George IV Bridge; 44-131-226-3131) contrast with stately views of Edinburgh Castle through the dining room's rear picture windows. The mostly Mediterranean main dishes (£13 to £19) include options like steamed mussels with bacon and pine nuts, roast rack of lamb with Parmesan potato cake, or hazelnut gnocchi with shiitake mushrooms, spinach and pecorino cheese. Reservations recommended, especially at peak times. If you have energy left after dinner, stop by the Bar Missoni down the street for a nightcap, mingling with the fashionable crowd at the Hotel Missoni.
10 a.m.5. Royal Stroll
No visit to Edinburgh would be complete without a walk up the Royal Mile, which stretches from the Palace of Holyroodhouse (Holyrood Road; royalcollection.org.uk), the Queen's official residence in Scotland, to Edinburgh Castle, arguably the city's most famous landmark. Near the palace, you can't miss the more modern Scottish Parliament (Canongate; scottish.parliament.uk), which opened to mixed reviews in 2004. It will be in the spotlight again when Scotland votes on a referendum in 2014 to decide whether to become independent or remain part of Britain. The route is lined with tourist shops, but be sure to explore the narrow alleys called closes that lead off the Royal Mile. Many have names referencing a past use, like the Fleshmarket Close, once home to a meat market (also the title of a crime novel by the Scottish writer Ian Rankin).
11 a.m.6. Castle Visit
End your stroll at Edinburgh Castle (Castlehill; edinburghcastle.gov.uk), which sits atop the volcanic hill known as Castle Rock. If you spring for the £16 entry fee, you can tour the buildings behind the fortress walls, including the Great Hall, the Royal Palace and St. Margaret's Chapel, which was built in the 12th century and is the oldest surviving building in Edinburgh. Up near the castle, Edinburgh's Camera Obscura, dating back to the 1850s, is also worth a visit on a clear day. Visitors gather in a dark room to view live images of the surrounding city, created by using a mirror, lenses and a hole in the ceiling that lets in light -- relying on principles of refraction that work best when the sun is shining.
Noon7. History Lesson
On your way back down the hill, take a detour to the National Museum of Scotland on Chambers Street, which also just completed a renovation in 2011. The diverse exhibits cover Scottish history, the natural world, science, art and design, with lots of child-pleasing options like a dinosaur skeleton and a steam locomotive. But one of the museum's most famous attractions is definitely Dolly, the cloned sheep created at the University of Edinburgh, now preserved for posterity by taxidermists.
1:30 p.m.8. To the Dogs
Offering a simple take on the gastropub tradition, the Dogs (110 Hanover Street; thedogsonline.co.uk) serves Scottish favorites like steak and mushroom pie (£7.45), haggis, black pudding and bacon hash with a fried duck egg (£6.35) and fish and chips with mushy peas (£6.95). For vegetarians, there's a roasted squash, goat cheese and spring onion barley risotto (£6.45). Portraits and statues of dogs adorn the walls and line the staircase, as if awaiting a taste of your meal. After lunch, explore the shops on nearby George and Princes streets, a mix of familiar global brands and the ornate department store Jenners, a longtime institution in Edinburgh.
4 p.m.9. Flowers and Tea
If the weather is nice -- it can shift quickly in Scotland -- it's worth a visit to Edinburgh's 70-acre Royal Botanic Garden (20A Inverleith Row; rbge.org.uk). Highlights include the Glasshouses, home to palm trees and tropical plants, the Queen Mother's Memorial Garden and the Scottish Heath Garden, featuring plants commonly found in the Scottish highlands. It's also a nice place for a break to enjoy the greenery of Scotland, or have an afternoon cup of tea at the Terrace Cafe. (To keep up with the locals, aim for several cups of tea every day.)
7 p.m.10. By the River
Head down to Leith, Edinburgh's port on the Firth of Forth, an industrial waterfront that is now a dining and drinking destination, including restaurants that boast Michelin stars. Have a drink at the Shore (3 Shore; fishersbistros.co.uk), an old wood-paneled pub overlooking the Water of Leith, then wander a few blocks up to the Vintage (60 Henderson Street; thevintageleith.co.uk) for dinner. Serving craft beer, a grazing menu of charcuterie like hot-smoked pig cheeks (£3) and main dishes like rainbow trout and beet root with foraged greens (£12.50), the Vintage blends traditional and modern cooking in an atmosphere that offers a similar mix. Dishes arrive on wooden boards, but the open kitchen and sleek lighting lend a more urban feel to the décor.
10 a.m.11. Up the Hill
Start the day with a walk up Calton Hill, arguably the city's best vantage point, with views of Leith and the Firth of Forth, Edinburgh Castle and the volcanic hill known as Arthur's Seat. At the top of Calton Hill, the 12 Doric columns of the unfinished National Monument were meant to honor those who died in the Napoleonic Wars, but are now referred to as "Edinburgh's disgrace." For an even higher view, climb Nelson Monument, a telescope-shaped tower built to commemorate Admiral Horatio Nelson's victory (and death) in the Battle of Trafalgar.
Noon12. Local Lunch
Occupying a 19th-century building that once housed the gardener who tended the Royal Terrace Gardens (below Calton Hill), the Gardener's Cottage (1 Royal Terrace Gardens, enter from London Road; thegardenerscottage.co) serves seasonal dishes to diners at three communal tables. A chalkboard menu announces specialties, like carrot soup (£5), crowdie (a Scottish cheese) and wild garlic quiche (£6) or hake with braised lettuce, bacon and fermented chard (£15). The staff does double-duty attending to a record player near the entrance, spinning jazz and other tunes that create an ambience well suited to a garden meal.
The newly renovated Glasshouse Hotel (2 Greenside Place; theglasshousehotel.co.uk) at the foot of Calton Hill has rooms from £150, some with terraces, all with access to a two-acre roof garden.
Hotel Missoni Edinburgh (1 George IV Bridge; hotelmissoni.com), just off the Royal Mile, offers colorful rooms from £170 and the stylish Bar Missoni.
Correction: July 12, 2013, Friday
This article has been revised to reflect the following correction: An earlier version of this article gave the wrong conversion from pounds to dollars for the price range of little plates and salads at Urban Angel on Hanover Street. At the rate of $1.48 to the pound, the price range, £4 to £7, is about $5.95 to $10.35 -- not $2.70 to $4.75.
This article originally appeared in The New York Times.