no, Onions are toxic to rats and should be avoided. Post navigation Can rats eat spinach?Can rats eat potatoes?