We do not advise the use of WD-40 as a pigeon repellent. There are more purpose-specific products like bird repellent gels and liquid bird repellents that are designed to safely deter pigeons.