The sentence matches one imposed by Judge Lamberth last week on a former mixed martial artist filmed punching a police officer during the violence.
Chansley’s lawyer, Albert Watkins, had pleaded for leniency, citing his client’s “dire need of mental health treatment”.
He said Chansley has long suffered from diagnosed mental illnesses and asked the judge for a sentence of time served. Chansley has been detained since his January arrest.
“He is accountable and wants to be held accountable,” Mr Watkins said.
Chansley, a promoter of the QAnon conspiracy theories who had travelled the country appearing at pro-Trump rallies, developed a social media following in the months before January 6.
In an interview from jail, the self-proclaimed “shaman” from Phoenix, Arizona, said he was merely hoping “to bring God back into the Senate” when he breached the Capitol building.
While in detention, Chansley was diagnosed by prison officials with transient schizophrenia, bipolar disorder, depression and anxiety.
He pleaded guilty in September to obstructing an official proceeding, namely the formally certification of the presidential election.
He later said he was disappointed that Mr Trump did not use his presidential powers to pardon him.