You can use butter or oil when you caramelize onions. It's a personal preference. We prefer olive oil.