The military also uses baseball caps as part of the uniform, especially the United States Navy and United States Coast Guard. Used mostly with the utility uniform and coveralls, the baseball cap usually has a command logo on the front to denote command affiliation. Also baseball caps of a particular color are worn to denote a specific function of a person or particular job. Two examples are in the United States submarine force, red baseball hats are worn by drill monitors who facilitate and critique members of the boat's crew during drills. Also in the United States Army, parachute riggers wear red baseball caps and parachute instructors wear black baseball caps as part of their uniform. In Slovenia, policemen on motorcycles wear baseball caps as a part of their uniform, when they remove the helmet.
Many armed police units around the world, notably SWAT in the United States and Scotland Yard's Specialist Firearms Command in Great Britain, often wear baseball caps to shield their eyes from the sun where a full helmet and facemask would be excessive.
The uniform of Chester Zoo's staff includes a green baseball cap with the zoo's logo on.