When frying eggs, using either butter or oil is always necessary, as the fat in both prevents the eggs from sticking. The better option depends on what you're looking for.
Butter is high in fat and infuses eggs with a rich flavor that can be slightly salty or even slightly sweet, depending on the brand and type. It also tends to cost less than oil.
The downside of butter comes down to health concerns. It's high in saturated fat, which can ultimately lead to problems like higher cholesterol down the road.
Moreover, butter doesn't burn as easily as other dairy products, but it also doesn't have the heat resistance that certain oils have; it starts to burn around 350 degrees F.
To keep breakfast as healthy as possible, avocado oil is a great option. It has good fats, vitamin E, and minerals, as well as a high smoke point of about 520 degrees Fahrenheit.
However, refined oils like canola or vegetable oil aren’t as healthy and won’t give you the rich flavor butter does. Certain oils also cost more than butter.