Smelling onions can be a symptom of certain medical conditions, such as diabetes, kidney failure, or liver failure, or it can be a side effect of certain medications. If you have been smelling onions and are concerned, it is a good idea to consult a healthcare professional for further evaluation.