It is recommended to soak black-eyed peas for at least 4 hours or overnight before cooking them.