Yes, a 22 rifle is legal in all 50 states in the USA. However, some states might have restrictions on magazine capacity, open carry, etc.