No, there is not a dress code for visiting the White House. You may choose to dress casually or formally. The choice is up to you.