What's the difference between DOT 3 and DOT 4 brake fluid?

Both are glycol-based and hygroscopic, meaning they absorb moisture from the air over time, which is what eventually lowers their boiling point and brake feel. DOT 4 has a higher boiling point than DOT 3 and generally takes longer to absorb enough moisture to need replacing. Use whichever your manufacturer specifies, DOT 4 can usually replace DOT 3 but not the reverse, and never mix brake fluid with anything not rated for your system.