But when it comes to putting together bathroom designs in plans that you ... such as a vanity or toilet, and any other fixture or wall. The building code allows for a minimum of 21 inches.