The 1998 Texas Attorney General election took place on November 3, 1998, to elect the Texas Attorney General. Incumbent Democratic Attorney General Dan Morales chose not to seek re-election to a third term.
Former Justice of the Texas Supreme Court John Cornyn beat Democratic nominee and former Attorney General Jim Mattox, 54% to 44%. Cornyn became the first Republican elected Attorney General since Reconstruction.