Le Unterseeboot 504 (ou U-504) est un sous-marin allemand utilisé par la Kriegsmarine pendant la Seconde Guerre mondiale.