Unhealthy trans fats in restaurant food? Not in New York City.

Eateries must remove artificial trans fats from all menu items by July 1.

When first implemented last year, the Health Department ban applied only to fry oils and spreads. It now will also include baked goods, frozen foods, cannoli and doughnuts.

Foods served in original, sealed packaging — such as candy and crackers — are exempt.

The Health Department says that, as of last month, about 98 percent of inspected restaurants were in compliance.

Some food chains and cooking oil manufacturers also have reduced saturated fat by 20 to 35 percent in certain fried foods.