Master Cylinder Reservoir: Removal
WARNING: This page does not describe the selected car, but rather 9 other vehicles, including the 2004 Mazda B4000, 2004 Mazda B3000, 2004 Mazda B2300, 2003 Mazda B4000, and 2003 Mazda B3000. However, it is still accessible from the selected car via links, so may be relevant.
Disconnect the brake fluid level switch connector. Use a suitable suction device to drain the master cylinder reservoir. Carefully pry up on the brake master cylinder reservoir to remove.