The couple, who married in 1996, have one daughter together, Stella, who will turn 18 in September.
Melanie Griffith and Antonio Banderas said they were parting on friendly terms, said the Hollywood Reporter.
"We have thoughtfully and consensually decided to finalize our almost 20 years of marriage in a loving and friendly manner, honoring and respecting each other, our family and friends and the beautiful time we have spent together," they said in a joint statement via their representative.
Griffith has cited "irreconcilable differences" in legal papers filed at the Los Angeles Superior Court.
The 56-year-old actress was previously married to 'Miami Vice' star Don Johnson, twice, and Steven Bauer and has other two children, Dakota Johnson and Alexander Bauer, from her previous relationships.
Banderas, 53, was married to Ana Leza from 1987 to 1996.