A Fort Madison woman was sentenced to 30 years in federal prison for sexual exploitation of a child and distribution of child pornography on Wednesday.