Geographical expansion and trans‐continental transmission of the African swine fever virus (ASFV) pose a significant risk to the global swine industry due to its high impact on swine health and agro‐economy. Several different modes of ASFV transmission make it difficult to predict and prevent ASFV introduction to the free area and its spread in the affected area. Indirect transmission through contaminated surfaces could be one of the possible routes to introduce ASFV to the United States due to its high resistance on environmental surfaces and the frequency of international movements. However, there is limited knowledge about environmental samples for ASFV surveillance, when compared to clinical samples from infected pigs. Therefore, the aim of this study was to develop methods for better detection of ASFV DNA in the presence of four different types of organic contaminants: soil, swine feces, feed dust, and their mixture. The presence of organic contaminants negatively affected the sensitivity of ASFV DNA detection. Centrifugation and filtration were crucial for ASFV detection in environmental samples with soil and mixture, whereas filtration reduced the sensitivity of ASFV DNA detection in samples from clean surfaces and swine feces‐ and feed dust‐contaminated surfaces. Detection of ASFV was significantly improved when sampled by the sponge stick with DNA/RNA shield when compared to the cost‐effective sampling strategy, the cotton gauze with phosphate‐buffered saline. These findings highlight the effect of organic contaminants and the use of the nucleic acid stabilization buffer on ASFV diagnostic performance and provide important background for ASFV preparedness.