Let K be a totally real field, and let S be a finite set of non-archimedean places of K. It follows from the work of Merel, Momose and David that there is a constant BK,S so that if E is an elliptic curve defined over K, semistable outside S, then for all p>BK,S, the representation ρˉE,p is irreducible. We combine this with modularity and level lowering to show the existence of an effectively computable constant CK,S, and an effectively computable set of elliptic curves over K with CM E1,…,En such that the following holds. If E is an elliptic curve over K semistable outside S, and p>CK,S is prime, then either ρˉE,p is surjective, or ρˉE,p∼ρˉEi,p for some i=1,…,n.