The Tamsui waterfront at sunset.
Tamsui  (淡水, or Danshui, Danshuei, Tamshui) is a smaller city to the north of Taipei that was occupied by the Spanish and Dutch in the 17th century, and and was the center of shipping and commerce in northern Taiwan in the 19th century. The city boasts many historical attractions, and is a popular location for viewing the sunset.
The town calls itself by the English name "Tamsui", probably comes from the town's name in the Taiwanese dialect. Danshui is the Mandarin Chinese transliteration.
Tamsui is located near the outlet of the Tamsui (Danshui) River into the Taiwan Strait. Originally home to Formosan indigenous peoples, Tamsui was next settled by the Spanish in 1629 as the town and mission of San Domingo. The Spanish were expelled by the Dutch in 1641, who built Fort Anthonio, forming what is known today as Hongmao Castle. Following the departure of the Dutch in 1661, Tamsui continued to grow, becoming the largest port in Taiwan by the 19th century. By the 20th century, accumulation of silt in the river forced most port operations to move east to Keelung. Due to its close proximity to Taipei City, Tamsui has become a favorite destination for city dwellers and tourists to take a stroll and enjoy a coffee along the riverside lined by banyan trees.
Tamsui is most easily accessed from Taipei by taking the MRT Tamsui (Red) Line to its northern end at Tamsui Station. The ride is roughly 40 minutes from Taipei Main Station
Most of the city of Tamsui is easily accessible by foot from the MRT station. Turn left as you exit the MRT and then right along the river.
Ferries across the river to the town of Bali and the Fisherman's Wharf depart from the Tamsui Ferry Pier, about 10 minutes north of the MRT station by foot. Sightseeing boats traversing Taiwan's northeast coast and the Tamsui (Danshui) River depart from the Fisherman's Wharf.
The R26 bus will take you from Danshui MRT Station to Fort San Domingo or Fisherman's Wharf. The latter is beyond casual walking distance from the MRT, so the bus is probably the best choice if you don't want to take a boat or rent a bike.
Rent a bike in one of several shops on the main road north of Danshui MRT Station. A normal rate might be $300 for the whole day. Or in Bali , rent a bike to ride up and down the riverside. This is very popular and cheap (From $30 NT per hour for a small bike, to $100 NT per hour for a tandem bike). Make sure you look the bike over first as safety standards vary.
- Hongmao Castle (Fort San Domingo) (紅毛城, lit: Red Hair Castle) was constructed by the Dutch as 'Fort Anthonio' in 1641, and gained its present name in reference to the red-haired Dutch. The compound also served as the British Consulate in the late 19th and early 20th centuries. It enjoys commanding views over the mouth of the Tamsui (Danshui) River. Address: 1, Lane 28 Zhongzheng Road, Danshui. MRT to Danshui Station (Danshui line), shuttle bus red 26 to castle. Tel:2623 1001.
- Tamsui Old Street and waterfront (淡水老街): Located along the Tamsui (Danshui) River, this pedestrian shopping area offers tourists a wide selection of restaurants, arcades, and stores specializing in traditional handicrafts. Visitors can sample Tamsui's local specialties: A-Gei (crystal noodles stuffed in fried bean curd, served with a mild hot sauce), fish ball soup, and "iron eggs" (eggs which have been stewed in a mix of herbs and spices until pickled). The area is located right outside the north side of the MRT Danshui Station and stretches north to the ferry docks. Do try the food vendors which are located up and down the strip.
- The Tamsui Ferry Pier is located near the north end of the waterfront area and offers ferry rides across the river to Bali Township, as well as to Tamsui Fisherman's Wharf further north. Tickets run around NT$50 to Bali, and NT$100 to Fisherman's Wharf. When taking the ferry don't stand outside unless you enjoy getting wet! Closed in the event of bad weather.
- Tamsui Fisherman's Wharf (淡水漁人碼頭) is located further downstream from the town itself and offers a boardwalk, chic coffee shops and food stalls, and some seafood restaurants with prices that the average local would consider outrageous (but may seem reasonable to visitors from Western countries). Fisherman's Wharf is also a departure point for tourist boats traveling along Taiwan's scenic northeast coast. The "Lover's Bridge", a single slanted tower cable stay pedestrian bridge, that is modeled after a sailing ship's mast and rigging, spans the harbor. The bridge is illuminated by different-colored lights at night, making this area a favorite with local couples and romantics, and a popular site for shooting Taiwanese serial dramas. Outdoor concerts are sometimes held in the amphitheater, and some of the restaurants feature occasional live music.
- Ride the ferry to Bali (八里).
- Attend seasonal concerts or festivals at Fisherman's Wharf or the MRT Station Plaza.
- Take a walk and visit the Maritime Museum on the campus of Tamkang University. 
- Walk along the waterfront.
- Watch the sunset.
- Iron eggs (鐵蛋) are eggs which have been repeatedly stewed in a mix of spices and air dried. The resulting eggs are dark brown, chewy, and about half their original size. The most famous Iron egg store is Grandma's Tiedan (阿婆鐵蛋) - 135 Zhongzheng Road (Old Street).
- A-Gei (阿給) is a piece of deep fried tofu that has been stuff with flavoured crystal noodles and sealed with fish paste (surimi). It is often served with a spicy sauce. Many places serve this, but one of the original A-Gei restaurants is on Zhenli St. (真理街) - the last one on the right as you walk up this steep, narrow street.
- Tamsui fish balls (淡水魚丸) are balls of fish paste stuffed with meat and garlic served in a light broth.
- Fish crisps (魚酥) are fish snacks that have a light and crispy texture comparable to shrimp crackers. Available in original and hot flavours.
- Hai Feng Restaurant (海風餐廳), 17 Zhongzheng Road (Old Street), Tel: +886 2 2621-2365. A traditional Taiwanese seafood restaurant.
- Red Castle 1899 (達觀樓), 6, Lane 2, Sanmin Street, Tel: +886 2 8631-1168, . A colonial building, built in 1899, sits on the hillside. This cafe has the best view in Tamsui. They serve both Western and Chinese dishes. The entrance is just east of the Mackay statue, atop a hill reached by walking up 106 stone steps.
- Sour plum drink (酸梅湯) is a sweet and sour drink made of salted pickled plums that have been cooked in syrup.
- Chinatrust Hotel, Tamsui (淡水中信大飯店) - 91 Zhongzheng East Road Sec. 2. Tel:+886 2 8809-1111. . Near the MRT Hongshuilin Station on Danshui Line.