Introduction: Comorbidities' awareness is relevant to evaluate patients' conditions. However, very often, the main source of such information is patient self-report, which lacks reliability. Atrial hypertension (AH) is a very relevant comorbidity that may change prognosis for several diseases. Recent studies use electrocardiogram (ECG) to diagnose and even identify relevant patient information, such as gender and age. There is also evidence that it is possible to extract patient comorbidities using the raw ECG signal. Our goal in this work is to identify AH using the 12 lead ECG signal. Dataset: The dataset used was collected by the telehealth network coordinated by UFMG's hospital. It contains 2.356.873 electrocardiogram exams collected between 2010 and 2016. Methods: We use a deep neural network model tailored for learning latent features from ECG signal raw data (i.e., end-to-end approach). We divided our data into training, testing and validation, each corresponding to 80%, 10% and 10% of the dataset, respectively. Finally, a random search was performed in order to optimize the hyperparameters of the model. Results: Our model, which aimed to detect patients with AH, achieved 0.78 recall (SEN), 0.55 precision (PPV), with an overall F1-score of 0.65 (depicted in table 1, which also contains segmented results per age and gender). Despite the absolute figures, these results are significant in practice, in particular the high recall, considering the low prevalence of AH on patients. Conclusions and future works: We presented a machine learning model that is able to detect AH through ECG signals. Despite its relatively low precision, its results are better than those associated with patient self-report, making it a potentially useful resource for physicians, mainly in telehealth practice. As future works, we intend to extend our model to detect other comorbidities and validate it using external datasets.