The possibility of the differentiation of glioblastoma from traumatic brain injury through blood serum analysis by terahertz time-domain spectroscopy and machine learning was studied using a small animal model. Samples of a culture medium and a U87 human glioblastoma cell suspension in the culture medium were injected into the subcortical brain structures of groups of mice referred to as the culture medium injection groups and glioblastoma groups, accordingly. Blood serum samples were collected in the first, second, and third weeks after the injection, and their terahertz transmission spectra were measured. The injection caused acute inflammation in the brain during the first week, so the culture medium injection group in the first week of the experiment corresponded to a traumatic brain injury state. In the third week of the experiment, acute inflammation practically disappeared in the culture medium injection groups. At the same time, the glioblastoma group subjected to a U87 human glioblastoma cell injection had the largest tumor size. The THz spectra were analyzed using two dimensionality reduction algorithms (principal component analysis and t-distributed Stochastic Neighbor Embedding) and three classification algorithms (Support Vector Machine, Random Forest, and Extreme Gradient Boosting Machine). Constructed prediction data models were verified using 10-fold cross-validation, the receiver operational characteristic curve, and a corresponding area under the curve analysis. The proposed machine learning pipeline allowed for distinguishing the traumatic brain injury group from the glioblastoma group with 95% sensitivity, 100% specificity, and 97% accuracy with the Extreme Gradient Boosting Machine. The most informative features for these groups’ differentiation were 0.37, 0.40, 0.55, 0.60, 0.70, and 0.90 THz. Thus, an analysis of mouse blood serum using terahertz time-domain spectroscopy and machine learning makes it possible to differentiate glioblastoma from traumatic brain injury.