Yes, onions have a strong scent that will likely transfer to your hair. To avoid this, try adding a few drops of essential oil to the onion juice before applying it to your hair.