Getty

Johnny Knoxville SETTLES DIVORCE FROM SECOND WIFE

Johnny Knoxville has finally wrapped up his divorce from his estranged wife Naomi Nelson, ... two years after he first filed -- he's now officially a single man.

According to court docs obtained by TMZ, Johnny and Naomi have hashed out a written agreement about their property and marriage or domestic partnership rights.

The docs also mention Johnny and Naomi have worked out an agreement on child custody and support for their two kids, Rocko and Arlo ... though the specific terms were not made public.

TMZ broke the news first ... the "Jackass" star wanted joint legal and physical custody of the kids when he filed for divorce from his second wife, Naomi, in June 2022 after 12 years of marriage.

He cited irreconcilable differences and mentioned they’d been separated since Sept. 2021.

Click here for info about our online advertising practices.