With all votes counted, 50.4% of those who voted said yes to the proposal, while 49.6% rejected it. The closeness of the ballot is a surprise. Opinion polls had suggested up to 60% backed digital IDs, which also had the approval of the Swiss government, and both houses of parliament.