Knivsta Municipality (Swedish: Knivsta kommun) is a municipality in Uppsala County in east central Sweden. Its seat is located in the town of Knivsta, with some 7,100 inhabitants. It is known for being one of the safest municipalities in Sweden, consistently ranking among the top 5 safest (out of 290) for more than a decade.