Two compounds found in lavender, linalool and linalyl acetate, can be toxic to dogs in large amounts. Concentrated lavender oil contains more of these compounds than its flowers; dogs would need to eat a large volume of lavender plants to get sick, but could fall ill after ingesting only a small amount of lavender oil.