Down by four in the middle of the second quarter, Spanish Springs started to rally when Ryan Swanson hit a 3-pointer and Alex Vetter scored on a putback for a one-point edge.
Elko made the next basket to regain the lead, but Brandon DeLong handed the Cougs a 21-18 halftime edge by scoring the final four points of the first half.
The Indians were able to cut it to one, but could not get any closer. Spanish Springs held a 33-28 lead heading into the final eight minutes and outscored the hosts 13-11 in the fourth.
"I was pleased. We struggled at times but did good things at times as well," SSHS boys basketball coach Kyle Penney said. "We got some contributions from our bench that kind of got us over the hump. We had guys make little plays, not the flashy plays most spectators see, but little things that allowed us to get buckets and stops."
Those stops came in handy in the last two minutes when Elko could only manage one field goal. The Indians did not take advantage of Spanish Springs missing all but one of its last six free throws.
No Cougar reached double figures but DeLong and Ryan Romine had nine and eight points respectively.
Elko's Ra Shaun Marin led all scorers with 12 points.
The win moves Spanish Springs to 2-3 in HDL play.
"We're right there. It's unfortunate we started 0-3. We felt like we could have been 3-0 but weren't doing things to get us there," Penney said. "In hindsight, it's frustrating but we're moving forward and doing more good things. Now, we've won a couple close games, and we have to keep going in that direction."
The Cougars are at home against McQueen Friday night at 7 p.m.