The Verdict: Need More Info
Living together counts only once the cohabitation is registered, so register it with Registers Iceland if you share a home there. The five years run from the registration.
Marriage to an Icelander does not give citizenship directly. It shortens the residence needed: four years living in Iceland since the wedding, or five since registering a cohabitation, where your partner has been an Icelandic citizen for at least five years. Same-sex couples are treated the same.
If you live abroad and are not a Nordic, EEA or Swiss citizen, an unmarried partner can get a residence permit to join an Icelander after more than a year living together, with a shared registered address in Iceland. It lets you work without a separate work permit. The fee is ISK 110,000. A government draft would raise the year to two; it is not law yet.