Police say four were charged with trespass, 18 with unlawful assembly and one with resisting arrest.
The arrests started Tuesday morning after protesters refused to leave.
The group wants protections based on gender identity and sexual orientation included in the Idaho Human Rights Act, but Republican leaders have declined to hold a hearing on the issue.
Activists have held multiple silent protests in the Capitol this year, leading to more than 140 arrests.
More Northwest Headlines
Feds: Western State Hospital harming patients Strong winds leave nearly 4,000 without power in Washington Redmond father gets 20 years for injecting son with heroin Auditors found liable for $10M in Madoff losses in Washington Boy, 14, charged in wreck that killed 10-year-old in Lakewood Seattle mayor looks to expand potential sites for pot shops Suspected driver arrested in deadly Bellevue hit-and-run Boats sit idle as algae threatens Dungeness crab season
Our new comment system is not supported in IE 7. Please upgrade your browser here.