Stunned when his longtime boyfriend moves out, a New York City real estate broker (Neil Patrick Harris) faces the prospect of starting over — and dating again — in his 40s.