CNN continues to struggle with its ratings, failing to crack the top five in both total day and primetime cable ratings last week.

According to Nielsen Media Research for the week of June 18 to June 24, Fox News continued to dominate the other cable news networks by ranking number one in both total day and primetime ratings. MSNBC fell slightly behind at number two in both categories.

Fox News earned its 24th consecutive week on top of basic cable with 1,465,000 average daily viewers. They also earned 2,513,000 average primetime viewers for the week.

CNN, meanwhile, trailed far behind both of its news competitors, ranking 13th in primetime and 7th in total day. In primetime, CNN lost to HGTV, Investigation Discovery, the History Channel, the Discovery Channel, and the Food Network.

The Anderson Cooper and Chris Cuomo-led lineup earned them just 914,000 average primetime viewers.

Fox Business network also continued its superiority over competitor CNBC, enjoying a 25 percent advantage in viewers for the week.

Follow Amber on Twitter