Choosing between a CD and Treasuries depends on how long of a term you want. For terms of one to six months, as well as 10 years, rates are close enough that Treasuries are the better pick. For terms of one to five years, CDs are currently paying more, and it's a large enough difference to give them the edge.