Question: do jim and pam break up at the end of the office

Answer: No, In ``Moving On'', Pam interviews for a job in Philadelphia to be closer to Jim, but she is turned off by the idea when her prospective new boss bears a striking resemblance in behavior to Michael Scott. Over dinner, Pam reveals to Jim that she doesn't really want to move to Philadelphia after all. However, in ``Livin' the Dream'', when Athlead is bought out and Jim is offered a large sum of money for 3 months to pitch the company across the country, Pam overhears Jim refuse the opportunity because of her and appears to have mixed feelings about this decision. In ``A.A.R.M.'', Pam tells Jim that she's afraid that he will resent her for making him stay and that she might not be enough for him. Jim asks the camera crew to compile documentary footage of the two of them to show her. When she finishes the montage, which shows Jim taking back a letter he intended to give her with his teapot gift during Christmas; Jim finally gives her that letter, and she reads it, visibly moved. In the series finale, which takes place a year later, she reveals to Jim that she secretly put the house on the market, so that they can move to Austin, Texas, and take his job back at Athlead (now Athleap).