This is a custody modification proceeding. ORS 107.135(1)(a). The issue is whether a stipulated visitation order is a custody order for the purpose of the change of circumstances rule. Henrickson v. Henrickson, 225 Or 398, 358 P2d 507 (1961).1 The Court of Appeals held that it is not. Ortiz and Ortiz, 101 Or App 362, 790 P2d 555 (1990). We agree and affirm.
In 1983, a stipulated dissolution judgment was entered, awarding custody of the parties’ children to mother, subject to father’s reasonable visitation. In 1984, the judgment was amended, again by stipulation, changing custody of the children to father, subject to mother’s reasonable visitation.
In 1985, father was convicted of two counts of delivery of a controlled substance (cocaine).
In 1986, following a dispute over mother’s visitation rights, the parties stipulated to an order containing a specific visitation schedule for mother and terminating her spousal support.2 Custody was not in issue in 1986.
In May, 1988, the police searched father’s home, under a search warrant, for evidence that he was a co-conspirator in a drug ring. The children were at the home when it was *647searched. A semi-automatic handgun, methamphetamine, scales, and narcotics paraphernalia were seized.3
In September, 1988, mother obtained an order to show cause why the children’s custody should not be changed to her. She asserted in her affidavit that the children were suffering emotional damage as a result of father’s involvement with drugs and multiple girlfriends; that her circumstances had improved; and that she and her new husband could provide the children with a stable home environment.
At the 1988 change of custody hearing, mother attempted to introduce evidence of father’s 1985 drug convictions. Father objected, arguing that those convictions occurred before the parties’ 1986 stipulated visitation order, which, he argued, was the last custody order in this case. Father relied primarily on Henrickson v. Henrickson, supra.
The trial court sustained father’s objection and refused to consider the evidence, explaining:
“There is nothing that I see that can give me authority to change that decree based on ‘circumstantial [sic] change of circumstances’ based on the proof that has been presented before me. I just don’t see it. Even though, as I say, if the matters that you are alluding to, the matters you stated are true, you know, it’s a different story, but there is nothing that I have that shows, or proves to me that those are true. I would like to be able to address, if there is an issue, the entire issue. I would like to be able to see this whole thing, but I have to deal with what I have before me and that doesn’t give me, in my opinion, any authority to change the status quo. So, that is the ruling.”
Concluding that mother had not shown a change of circumstances since the entry of the 1986 order, the trial court denied her motion to change custody. She appealed.
The Court of Appeals first affirmed the trial court’s order without opinion. Ortiz and Ortiz, 99 Or App 213, 781 P2d 876 (1989). However, on reconsideration, the court held that a stipulated visitation order is not a custody order for the purpose of the change of circumstances rule and that the evidence *648of father’s 1985 drug convictions should have been admitted. Ortiz and Ortiz, supra, 101 Or App at 364. On de novo review, the Court of Appeals concluded that the evidence presented at the hearing showed a change of circumstances since the last order respecting the children’s custody. Because it found that the record contained no evidence on the issue of the children’s best interests, the Court of Appeals remanded the case to the trial court to determine whether a change of custody would be in the children’s best interests. Father petitioned this court for review.
Father contends that the change of circumstances rule prohibits a court from considering any evidence relevant to custody that existed before the entry of the last custody order. He argues that the 1986 stipulated visitation order is the last custody order, because a visitation order is inherently a custody order, and that it makes no difference analytically whether the visitation order is entered by . stipulation of the parties or after a contested trial. He further argues that, if a visitation order is by stipulation, the parties have implicitly agreed that one of them shall retain custody and the other shall have visitation rights: If the order is entered after a contested trial and the only litigated issue was visitation, the parties nevertheless have implicitly agreed, and the court has found, that one or the other shall have custody. Father points to ORS 109.710 (Uniform Child Custody Jurisdiction Act), which defines a “custody determination” as “a court decision and court orders and instructions providing for the custody of a child, including visitation rights.”4
*649We do not find father’s arguments persuasive. The change of circumstances rule is designed primarily to avoid repeated litigation over custody and to provide a stable environment for children. A petitioner seeking a change of custody must show (1) that after the original judgment or the last order affecting custody, circumstances relevant to the capacity of either the moving party or the legal custodian to take care of the child properly have changed,5 and (2) that considering the asserted change of circumstances in the context of all relevant evidence, it would be in the child’s best interests to change custody from the legal custodian to the moving party. Greisamer and Greisamer, 276 Or 397, 400, 555 P2d 28 (1976); Campagna-Jones v. Jones, 234 Or 378, 379, 381 P2d 63 (1963); Henrickson v. Henrickson, supra, 225 Or at 402-03; Bogh v. Lumbattis, 203 Or 298, 300, 280 P2d 398 (1955). That rule applies, however, only after the entry of an order affecting custody.
In McFadden v. McFadden, 206 Or 253, 261, 292 P2d 795 (1956), a child custody case, this court articulated the substantive distinction between “custody” and “visitation”:
“ ‘Custody,’ in the sense we use it connotes, among other things, the right of the legal custodian to establish the legal domicile for the child, whereas such right does not abide with the parent who enjoys only the occasional right to visitation, i.e., the right to visit the child wherever it is* at certain time, or to have the child visit the parent for stipulated periods.”
Thus, in the context of divorced persons, “custody” is the legal relationship between a minor child and the legal custodian, 1.e., the person to whom the court has given the primary rights and responsibilities to supervise, care for, and educate the child; usually, that is the person with whom the child lives most of the time. In contrast, “visitation” is the legal relationship between a minor child, the legal custodian, and a non-custodial person, i.e., a person who has an interest in seeing and/or being with the child.
Because the considerations in a custody determination are much broader than a determination of visitation *650rights, a visitation order is not analogous to a custody order.6 The Court of Appeals explained, correctly, that:
“In contrast to matters involving custody, modification of parental visitation rights requires neither a determination of the relative fitness of the parents nor a showing of a substantial change in circumstances. * * * Rather, the critical factor to be considered is whether the change [of visitation rights] will benefit the children. * * * Given the different issues and standards in the two types of proceedings, it is inappropriate to treat visitation orders as ‘custodial orders’ for purposes of the change in circumstances rule.” 101 Or App at 365. (Citations and footnote omitted.)
We agree with the Court of Appeals that a stipulated visitation order is not a custody order for the purpose of the change of circumstances rule. We reject father’s argument that the parties’ 1986 visitation order implicitly reaffirmed the 1984 custody order. As noted, custody was not in issue in 1986.
We agree with the Court of Appeals that the evidence presented at the 1988 change of custody hearing shows a change of circumstances since the last order respecting the children’s custody, i.e., the 1984 amended judgment. Consequently, it will be appropriate to consider all relevant evidence, including father’s 1985 convictions, in a new custody determination hearing.
We also agree with the Court of Appeals that the record in this case is not adequate to determine what would be in the best interests of the children. Therefore, it is necessary to remand this case to the trial court to consider that remaining issue before ruling on mother’s change of custody motion.
The decision of the Court of Appeals is affirmed. The judgment of the circuit court is reversed. Remanded to the circuit court for further proceedings.