She is 2 years old. She knows to go outside. It isn't anything medical. We had her on a routine, she went out at x,y, and z times, went potty, walked, and we went back inside. The reverting process was slow. First, i'd take her out and she'd refuse to go, but after enough time of letting her walk around she would go. The time before she went grew longer and longer. Started making me late for work in the mornings, etc. So I started setting a timer. 5 minutes for a potty break. If she takes any longer than that, we go back inside. If I'm home we try again in 20 or so minutes, if I'm headed to work, she stays in the crate until I come home or my neighbor comes over to take her out. Figured she would learn to go when she gets taken out. Now she is holding it in whenever we go outside and unless I constantly watch her, she will go in the house. If she has to go one and two, she will pee outside, and then come right in and poop in the house as soon as my back is turned. I don't get it. I've done everything right. I take her outside 3 times during the evening and once in the morning before work. I bring her over to play with the neighbors dog daily. But this is an issue. She holds it in as long as possible when you take her out, and then goes inside shortly after bringing her in as soon as she knows you aren't watching. She knows its wrong because as soon as she sees you look at the mess, she lays down and "apologises".