Flamini was a former Arsenal player.
The Frenchman put pen to paper on the deal after reaching an agreement with the club following a final round of talks on Wednesday.
The 29-year-old will rejoin the club he left in 2008, having been released by AC Milan earlier this summer, after putting pen to paper on a contract worth £50,000-a-week. The contract includes an option for a third year.
Arsenal will announce the deal after receiving the final clearance from the Premier League.
Flamini becomes the second Frenchman to join Arsenal this summer on a free transfer following Yaya Sanago, who signed after being released by Auxerre.
He was released by AC Milan at the end of last season and has been training with the Gunners for the last three weeks while working on his fitness and looking for a new club.
Arsene Wenger’s top target is Angel Di Maria while he has also not given up hope of signing Wayne Rooney and Yohan Cabaye.
Support PREMIUM TIMES' journalism of integrity and credibility
Good journalism costs a lot of money. Yet only good journalism can ensure the possibility of a good society, an accountable democracy, and a transparent government.
For continued free access to the best investigative journalism in the country we ask you to consider making a modest support to this noble endeavour.
By contributing to PREMIUM TIMES, you are helping to sustain a journalism of relevance and ensuring it remains free and available to all.
TEXT AD: To advertise here . Call Willie +2347088095401...