[¶ 1] Patrons Oxford Mutual Insurance Company appeals from a judgment entered in the Superior Court (Androscoggin County, Bradford, J.) dismissing its complaint for declaratory judgment seeking a determination that it had no duty to defend or indemnify its insured, Jesus Garcia, against claims that might be brought by Garcia’s lessee. The sole issue presented by this appeal is whether the court correctly concluded that the issue was not yet ripe for judicial determination. We affirm the judgment.
[¶ 2] Patrons’s complaint alleges the following facts. In June of 1996, Garcia leased a single-family residence in Turner to Theodore Collins 1 and Carmen Baldwin for a one- *385 year term. In July of 1996, Collins sustained injuries when he received an electrical shock while operating a pump in the flooded basement of the residence. At the time of the injury, the residence was insured under a standard homeowner’s policy issued to Garcia by Patrons. The policy excludes coverage for bodily injury “[ajrising out of the rental or holding for rental of any part of the premises” by an insured. The policy also contains an exception to that exclusion for the occasional rental of the insured premises as a residence.
[¶ 3] Patrons’s declaratory judgment action asserted that Patrons had no obligation to defend or indemnify Garcia in connection with any claim that Collins might assert as a result of the injuries sustained in July of 1996. Based on the coverage exclusion for injuries arising out of the rental of the premises, Patrons asserted that coverage is precluded and that the occasional basis exception to the exclusion does not apply because Garcia had leased the residence to Collins for one year. Garcia moved to dismiss the complaint, contending that the action was not ripe because Collins had not filed a complaint against Garcia. Concluding that “the question of coverage is not ripe for determination[,]” the court granted the motion. 2 This appeal followed.
[¶ 4] The Uniform Declaratory Judgments Act, 14 M.R.S.A. §§ 5961-5963 (1980 & Supp.1997), may be invoked only where there is a genuine controversy.
See Wagner v. Secretary of State,
[¶ 5] We first address whether Patrons’s duties to defend and indemnify are fit for adjudication at this time. Because an insurer’s duty to defend its insured against a suit is ordinarily determined by comparing the facts alleged in the complaint with the terms of the policy, the insurer’s duties are not usually fit for adjudication until a complaint has been filed against its insured.
See, e.g., State Mut. Ins. Co. v. Bragg,
[¶6] Once the complaint has been filed, “[i]f the allegations in the underlying tort action are within the risk insured against and there is any potential basis for recovery, the insurer must defend the insured regardless of the actual facts on which the insured’s ultimate liability may be based.”
Gibson v. Farm Family Mut. Ins. Co.,
If we were to look beyond the complaint and engage in proof of actual facts, then the separate declaratory judgment actions ... would become independent trials of the facts which the [insured] would have to carry on at his expense.... We see no reason why the insured, whose insurer is obligated by contract to defend him, should have to try the facts in a suit against his insurer in order to obtain a defense.
Id.
at 227. “Except in limited circumstances, an insurer cannot avoid its duty to defend by establishing, before the underlying action has concluded, that ultimately there will be no duty to indemnify.”
Northern Sec. Ins. Co. v. Dolley,
*386
[¶ 7] We have identified several instances where the insurer is not required to await the filing of the complaint in order to seek declaratory relief. A'narrow exception exists where the insurer disputes its duties to defend and indemnify based on issues such as “nonpayment of a premium, cancellation of a policy, failure to cooperate or lack of timely notice[.]”
Cumberland Cold Storage Co.,
[¶ 8] Patrons argues that its complaint falls within the exception allowing adjudication of the insurer’s declaratory judgment action where the coverage determination is entirely separable from the merits of the injured party’s claims. Patrons’s assertion, however, that the coverage issues in this matter are entirely separable from the underlying claim is not accurate. The coverage decision directly involves resolution of facts regarding the relationship, not between the insurer and the insured, but between the insured and the claimant. 6 The nature of Collins’s relationship with Garcia and the reason for Collins’s presence in the basement will be relevant both on issues of coverage and Garcia’s liability to Collins.
[¶ 9] Patrons next urges this court to create an additional exception where the insurer asserts that there can be no reasonable dispute regarding the applicability of a coverage exclusion. Essentially, Patrons’s declaratory judgment action invites the court to resolve issues of fact regarding Collins’s injuries that have not been determined either through prior litigation or through a stipulation. Although the rental exclusion may ultimately be determined to be applicable, its applicability cannot be determined without factual inquiry by the court. Such an inquiry into the relationship between Collins and Garcia in this proceeding would draw the insured into litigation of at least some aspects of the injured party’s claim in order to obtain a defense. This is precisely the result we sought to avoid in Dingwell.
[¶ 10] Finally, Patrons urges us to consider the hardship to the insurer caused by the withholding of judicial consideration at this point. Patrons contends that requiring an insurer to await the filing of a complaint against its insured will force insurers to defend claims that are unlikely to result in a duty to indemnify. We recognize the reality
*387
of Patrons’s concerns.
7
We conclude, however, that the rationale supporting the comparison test outweighs those concerns.
See Dingwell,
[¶ 11] Accordingly, the court correctly determined that Patrons’s declaratory judgment action does not come within any exception that would allow adjudication in advance of the filing of a complaint.
The entry is:
Judgment affirmed.
Notes
. Although Collins was named as a party-in-interest in Patrons’s complaint, we have deleted him from the caption of this opinion. He was never served with process, and therefore is not properly before the court in this action.
See
*385
Horace Mann Ins. Co. v. Maine Teachers Ass'n,
. It is undisputed that Collins has not filed an action against Garcia.
.
See, e.g., Benning v. Allstate Ins. Co.,
. See Dolley,
.
See State Mut. Ins. Co. v. Bragg,
. Garcia suggests, but cannot at this point know, that Collins may claim to have been acting not as a renter but as a contractor at the time of his injury.
. See, e.g., Baber, Judicial Interpretations of the Commercial General Liability Policy Under Maine Law, 12 Me. B.J. 368, 374 (1997) ("Accordingly, plaintiff’s counsel will want to be intentionally vague in drafting a complaint ... to preserve potential coverage.” (emphasis added)).
