The Swiss constitution of 1848 did not name a national flag, but it prescribes the federal flag for all federal troops.
The rectangular variant of the flag is used as a naval ensign only, officially introduced with a federal law passed 23 September 1953.