The arrests followed an incident at around 1.20 am in Limavady when it was reported a man sustained stab wounds to his head and hands.
The man was taken to hospital for treatment to his injuries.
His condition is described as stable.
A PSNI spokesperson said two men two men, aged 23 and 28, were arrested on suspicion of attempted murder and were helping police with their enquiries.
The spokesperson asked anyone who may have witnessed the incident or who had any information to contact them at Limavady on 0845 600 8000.
Or, if someone would prefer to provide information without giving their details, they could contact the independent charity Crimestoppers and speak to them anonymously on 0800 555 111.