Chick-fil-A unseated the California burger chain In-N-Out as the top fast food restaurant in the nation, according to a new survey.

Food and Wine found in a survey of 7,600 consumers that the chicken giant overtook In-N-Out as the overall favorite with a "loyalty rating" of 79%. In-N-Out remains the most popular burger chain in the U.S. with a 73% "loyalty rating." The second favorite chicken chain is Raising Cane's, which had a "loyalty rating" of 78%.

The survey was broken down into eight categories, including staff friendliness, overall cleanliness, food quality, curb appeal, atmosphere, speed of service, value for money spent, and healthy options.

Chick-fil-A swept every category but one among the fast food chicken chains.

McDonald's, the largest fast food chain in the world, had the lowest "loyalty rating" among burger joints, coming in at just 28%.

Last month, Chick-fil-A topped the American Customer Satisfaction Index survey on customer satisfaction for a fourth straight year.

[ Also read: Chick-fil-A worker jumps through drive-thru window to save child]