If you've never made caramelized onions before, you might be surprised how long you actually cook them for. It takes a long time to get them perfectly caramelized, so you'll need to cook them low and slow to avoid burning them. You'll continue cooking until the onions reach a soft, jammy texture and are no longer crunchy.