When travelling from the UK to Ireland and vice versa a Passport is recommended but for Irish and UK citizens not required. You always need to be able to ID yourself, however. For non-UK and Irish citizens a passport (or visa when applicable) is required. You can read more about it here: International Ferry Travel ID Requirements