Brock Purdy and the San Francisco 49ers are peaking at just the right time and now know they won't have to go on the road for at least a few more weeks.

Purdy threw three touchdown passes for his sixth straight game with multiple TDs and the 49ers clinched the No. 2 seed in the NFC playoffs with a 38-13 victory over the Arizona Cardinals on Sunday.

Purdy overcame two sacks by J.J. Watt in the final game of the star defensive end's stellar career and connected with George Kittle twice and Christian McCaffrey once on TD passes to lead the Niners (13-4) to their 10th straight win to end the regular season.

''I feel great. I feel like everyone else is feeling great,'' Purdy said. ''When you're on a roll, you're on a win streak, you feel like the groove and how we're playing together, it feels really good when we're on it. I think a lot of us are real with ourselves, too, and feel like we still haven't played to our full potential yet.''

San Francisco beat out Minnesota on a tiebreaker for the second seed, assuring the 49ers won't have to go on the road before the NFC title game. The Niners weren't able to secure a first-round bye because Philadelphia beat the New York Giants.

San Francisco will host Seattle in the wild-card game Saturday.

''I felt real good about our team when we won the division there about a month ago,'' coach Kyle Shanahan said. ''I feel better about them now because we've gotten better since that point. We'll be ready to go.''

The play of Purdy is a big reason why as he has become the second rookie QB in NFL history with at least six straight games with multiple TD passes and the Niners have scored at least 33 points in five of six games since he replaced an injured Jimmy Garoppolo in Week 13.

''That's awesome,'' Kittle said. ''It's fun. More touchdowns for everybody. It's been really fun. It has to do with our run (game) has been great. It opens up our pass game. But Brock's been fantastic in the passing game.''

The Cardinals (4-13) ended the season going in the opposite direction with seven straight losses to tie a franchise record for losses in a season.

The game started well for Arizona when fourth-string quarterback David Blough connected on a 77-yard TD pass to A.J. Green off a trick play on the second play from scrimmage.

About the only other highlight for the Cardinals was the two sacks by Watt, giving the three-time Defensive Player of the Year 120 1/2 in the regular season and playoffs in his 12-year career.

''I said I wanted to go out playing good ball, and I'm playing good ball,'' Watt said. ''I know I still can. I just choose not to, that's all.''

McCaffrey answered Arizona's quick score when he caught a short pass from Purdy and turned it into a 21-yard score to extend his touchdown streak to six straight games.

The first of two interceptions by Tashaun Gipson Sr. set up the 49ers' second touchdown when Elijah Mitchell ran it in from 5 yards out in his first game back from injured reserve.

Mitchell added another TD run in the third quarter as he tunes up for the playoffs.

Purdy found Kittle from 4 yards out with 19 seconds left in the half to make it 21-13 on Kittle's 10th TD catch of the season. The two connected again late in the third quarter, giving Kittle seven TD catches from Purdy in the last four games.

Purdy finished 15 for 20 for 178 yards.

FITTING FAREWELL

Watt took a ceremonial bow in the first quarter after bringing down Purdy - the 50th QB he has sacked in the regular season or playoffs.

Watt announced his decision to retire late last month and responded with three sacks in his final two games to reach 12 1/2 on the season.

BIG PLAY ISSUES

The Niners allowed a long TD pass for a second straight game and that has been one of the few issues that has plagued one of the stingiest defenses in the NFL this season.

The TD pass to Green was the sixth pass play of at least 50 yards this season allowed by San Francisco, tied with Green Bay for the most in the NFL and one more than the Niners allowed in the last two years combined.

INJURIES

Cardinals: Blough left in the third quarter to be evaluated for a concussion and didn't return. He left after losing a fumble on a sack by Jordan Willis for his third turnover of the game.

49ers: LB Demetrius Flannigan-Fowles (neck) left in the first half and didn't return.

UP NEXT

Cardinals: The offseason.

49ers: The Niners will try to got 3-0 against an opponent for the first time in franchise history when they host Seattle on Saturday.

---

AP NFL: https://apnews.com/hub/nfl and https://twitter.com/AP-NFL

Copyright 2024 STATS LLC and Associated Press. Any commercial use or distribution without the express written consent of STATS LLC and Associated Press is strictly prohibited.