It is not recommended to use WD-40 on a bike chain. While WD-40 can help to clean and lubricate the chain, it will also attract dirt and grime which can eventually lead to the chain becoming gummed up. For best results, use a dedicated bike chain cleaner and lube specifically designed for bicycle chains.