As of 20 Dec 2023, most states allow write-in votes for president, U.S. senator, and U.S. representative, and may also allow write-in votes for governor and other state offices. However, many states require that write-in candidates file paperwork before the election, otherwise, the state will not count the person's votes.