The charge sheet was presented to the Hudiksvall District Court on Friday.
Prosecutor Michael Dahlberg alleges that the two men together and in agreement with each other used violence to force the young woman to have sex with them on the night of April 28th.
The two men are said to have restrained her arms and covered her mouth to prevent her fleeing or calling for help. The alleged rape took place in the open air on a street in central Hudiksvall.
The men were arrested on the day of the alleged rape, and have been in custody since then. They have admitted in police questioning to meeting the young woman at a party close to the scene of the crime. They deny raping her.
The prosecutor has called for both men, who are foreign citizens, to be deported from Sweden once they have served their punishment. Both the men have temporary work permits and had only been in Hudiksvall a short time when the alleged rape took place.